]
Michael Anstis reassigned DROOLS-3760:
--------------------------------------
Assignee: Daniel José dos Santos (was: Michael Anstis)
[DMN Designer] Enumeration constraint dialog doesn't scroll to
latest entry
---------------------------------------------------------------------------
Key: DROOLS-3760
URL:
https://issues.jboss.org/browse/DROOLS-3760
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.19.0.Final
Reporter: Jozef Marko
Assignee: Daniel José dos Santos
Priority: Minor
Labels: drools-tools
Attachments: Screenshot from 2019-03-12 09-53-39.png
This issue was spotted during review of the DROOLS-3666 task, however not sure if it is
related to changes introduced there.
If user adds enumeration constraints and they do not fit the dialog size, there appears
vertical scrollbar. However the scrollbar moves to the beginning of the list every time
the add button is pressed. This forces user to scroll to the latest added entry every time
the add button is pressed.
We have already this functionality of scrolling to latest in the data types list view
component - list of all declared data types.
h3. Current state
The attached picture show the state of dialog when new constraint was just added and the
entries count doesn't fit the dialog size.
h3. Expected state
The scrollbar in the attached dialog is scrolled down.