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

why is the line of the ruler not displayed when the height of canvas is more than 16350px #44

Open
weijia18 opened this issue Aug 29, 2023 · 1 comment

Comments

@weijia18
Copy link

Description

i use the demo in the react-ruler, and this is my code
image
here is what is displayed in chrome
image
what is going wrong?

@weijia18 weijia18 changed the title why the line of the ruler is not displayed when the height of canvas is more than 16530px why the line of the ruler is not displayed when the height of canvas is more than 16350px Aug 29, 2023
@weijia18 weijia18 changed the title why the line of the ruler is not displayed when the height of canvas is more than 16350px why is the line of the ruler not displayed when the height of canvas is more than 16350px Aug 31, 2023
@PacoVerduBravo
Copy link

When attempting to render a very long ruler, the component stops rendering its content beyond a certain point. In the provided CodeSandbox, this happens at approximately 16,500px, but in my application, it occurs at 11,000px.

Steps to Reproduce

  1. Open the CodeSandbox.
  2. Observe the behavior when the ruler exceeds the mentioned pixel lengths.

Expected Behavior
The ruler should render consistently, regardless of its length.

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

2 participants