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

Negative values in RangeEditor get cut off #3648

Closed
jonnitto opened this issue Oct 22, 2023 · 0 comments · Fixed by #3649
Closed

Negative values in RangeEditor get cut off #3648

jonnitto opened this issue Oct 22, 2023 · 0 comments · Fixed by #3649
Assignees
Labels
7.3 Bug Label to mark the change as bugfix

Comments

@jonnitto
Copy link
Member

jonnitto commented Oct 22, 2023

Description

A negative value in the RangeEditor get's cut off. When you have a minimal value of 0 and high negative number as min, it is even worse, as only the max option is taken into considering on how long the input field should be

Steps to Reproduce

Create a property like this

propertyName:
  type: integer
  ui:
    label: Possible negative Value
    inspector:
      editor: 'Neos.Neos/Inspector/Editors/RangeEditor'
      editorOptions:
        min: -80
        max: 80
        step: 1
        unit: px

Try to set a negative value

Expected behavior

The value is still fully visible

Actual behavior

image

Affected Versions

Neos: 8.3.6
UI: 8.3.4

@jonnitto jonnitto added Bug Label to mark the change as bugfix 7.3 labels Oct 22, 2023
@jonnitto jonnitto changed the title Negative values in RangeEditor get cut ogg Negative values in RangeEditor get cut off Oct 22, 2023
@jonnitto jonnitto self-assigned this Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.3 Bug Label to mark the change as bugfix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant