Could not use scroll bar to auto scroll down the event list
Closed this issue · 1 comments
saba-ja commented
F´ Version | F' GDS 2.0 |
Affected Component | events.js |
Problem Description
Could not use scroll bar to auto scroll down the event list.
This issue was observed only on Browsers running on Windows OS.
How to Reproduce
- Create more than 100 EVRs
- Without being connected to a mouse use touchpad to scroll to the bottom of the Event list.
- Observe the Event list does not get updated despite having more than 100 EVRs.
Expected Behavior
Event list should get updated when using scroll bar.
saba-ja commented
The script subtracts element hight from element top to find out if scroll bar is at the bottom. If the result of subtraction is 0 it assumes scroll bar is at the bottom.
The issue is scrollableElm.scrollTop
returns an integer on Chrome running on Mac, but it returns a float on Chrome running on Windows as shown below: