Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Stick node width" section not working as expected #615

Open
Sigrsig opened this issue Apr 21, 2023 · 0 comments
Open

"Stick node width" section not working as expected #615

Sigrsig opened this issue Apr 21, 2023 · 0 comments

Comments

@Sigrsig
Copy link
Contributor

Sigrsig commented Apr 21, 2023

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:

  1. Visit the react-stick demo page - https://react-stick.vercel.app/
  2. Find the "Stick node width" section
  3. Set a small screen width (like 900px)
  4. Confirm that the right-most node does not have a line break and flows off the screen
  5. Set a large screen width (like 1500px)
    1. 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

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant