ex-jedi Posted September 10, 2021 Share Posted September 10, 2021 When .revert() runs the text jumps a bit. It seems to not like hyphens. I have another pen with identical code but no hyphens which seems to work fine. See the Pen mdwmJYp?editors=1000 by ex-jedi (@ex-jedi) on CodePen Any ideas what I can do to fix this? I'm also taking general pointers, but please not to harsh as I am noob! Thank you. See the Pen vYZmNQQ?editors=0100 by ex-jedi (@ex-jedi) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted September 10, 2021 Share Posted September 10, 2021 Hi ex-jedi! They look the same to me. What browse/OS are you seeing this in? Link to comment Share on other sites More sharing options...
nico fonseca Posted September 10, 2021 Share Posted September 10, 2021 16 hours ago, OSUblake said: Hi ex-jedi! They look the same to me. What browse/OS are you seeing this in? I have the same issue in Chrome Version 93.0.4577.63, Macbook PRO 13 Big Sur 🙁 Link to comment Share on other sites More sharing options...
Solution PointC Posted September 10, 2021 Solution Share Posted September 10, 2021 Sounds similar to this: 2 Link to comment Share on other sites More sharing options...
ex-jedi Posted September 10, 2021 Author Share Posted September 10, 2021 26 minutes ago, PointC said: Sounds similar to this: Aha. How did I miss that. I'll have a look at that and report back. Thank you. Link to comment Share on other sites More sharing options...
OSUblake Posted September 10, 2021 Share Posted September 10, 2021 Thanks for the find @PointC Link to comment Share on other sites More sharing options...
ex-jedi Posted September 11, 2021 Author Share Posted September 11, 2021 18 hours ago, OSUblake said: Hi ex-jedi! They look the same to me. What browse/OS are you seeing this in? Here you go. It only seems to work where the hyphenated words break. screencast-codepen.io-2021.09.10-21_31_59.mp4 Link to comment Share on other sites More sharing options...
ex-jedi Posted September 11, 2021 Author Share Posted September 11, 2021 Looks like that's fixed it. Is that still the most up to date approach? See the Pen PojmRLg?editors=0011 by ex-jedi (@ex-jedi) on CodePen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now