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

Wrong max/min values on ranges/sizes #25

Open
vicmeow opened this issue Nov 30, 2018 · 0 comments
Open

Wrong max/min values on ranges/sizes #25

vicmeow opened this issue Nov 30, 2018 · 0 comments

Comments

@vicmeow
Copy link
Owner

vicmeow commented Nov 30, 2018

Describe the bug
When the size unit is px, the max and min size values on range inputs are wrong.

To Reproduce
Steps to reproduce the behavior:

  1. Go to box details
  2. In width, click on % to switch to px
  3. Max value is 100
  4. See error.

Expected behavior
Max value should be the max value of the canvas, not just 100px.
And this applies not just to width, but to the height, x and y positions on box and shape.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant