react-stick
react-stick copied to clipboard
"Stick node width" section not working as expected
The "Stick node width" section of the react-stick demo page doesn't seem to be working as intended. On smaller screen width the right-most node does not have a text break and on wider screens the line clip doesn't seem to be in accordance to the screen width itself (always has overflow)
Steps to reproduce:
- Visit the react-stick demo page - https://react-stick.vercel.app/
- Find the "Stick node width" section
- Set a small screen width (like 900px)
- Confirm that the right-most node does not have a line break and flows off the screen
- Set a large screen width (like 1500px)
-
- Confirm that the right-most node has a line break but still flows off the screen
Expected behaviour: Right-most node clips the text to accommodate the screen width
Observed behaviour: Lines on the node do not clip correctly and flow over the screen width