cuba
cuba copied to clipboard
Table scrolls to bottom after saving changes in the editor dialog
Environment
- Platform version: 7.2
- Client type: Web
- Browser: Chrome, Opera, Edge, FireFox (scrolls but not to bottom)
Description of the bug or enhancement
En forum: topic
- Download: https://github.com/cuba-platform/sample-sales-cuba7
- Add forceDialog=“true” to dialogMode in product-edit.xml
- Start the application, create about 60 entities
- Set ‘Show rows’ to 100
- Scroll down so row 50 is the last in view, that leaves about 15 outside of view
- Select row 30, click ‘Edit’ and in the pop-up screen click ‘OK’.
AR Table scrolls to bottom.
Technical notes
- After debugging client-side it turns out that browser generates ScrollEvent in the table.
- If table is not expanded and uses fixed height (e.g. 500px) - bug is not reproduced.