-
Notifications
You must be signed in to change notification settings - Fork 34
Grid view selection lost when trying to use the scroll bar #259
Comments
More, the selection is changed even if i am clicking somewhere in the page.... that shall be fixed too |
Scroll bar looks like a bug, or changes in the browser behavior. But selection is always disappearing when we click outside the table. |
"click outside the table" is always expected action. It is pattern also used everywhere else in metasfresh. It only shouldn't de-select on moving into Selection attributes or when pressing one of Quick actions (which is obvious). But scrollbar shouldn't deselect – that's true. |
It seems that in modern browsers scrollbar is not visible by default, it's shown only when the user scrolls (at least on OSX). For the browser clicking a few pixels from right edge, is equal to clicking on scrollbar. This makes detecting of click on scrollbar impossible, as it is just an area, very close to right side. Another thing is that scrollbar of the whole content is not always the only scrollbar on the page. We'd need to detect clicking on scrollbar on every container. imho, metasfresh is keyboard navigation friendly, isn't it? What's the point of scrolling down with mouse click, while there is far better way to do it. E.g. using arrows, or scrolling with mouse scroll. wdyt |
Suggestion: as discussed last week, deselect the row only when clicking in the parent container. @chmieludaniel
IMHO that would be a big usability drawback. |
Fix grid view selection lost #259
[#259](metasfresh/metasfresh-webui-frontend-legacy#259) Grid view selection lost when trying to use the scroll bar
@Dunkat ? |
was the fix integrated? I didn't notice any difference |
if there was a way to unselect the lines, i would expect to click somewhere in the white space. Maybe i am wrong |
something broke, maybe in another merge, need to check |
Should work now. Just click outside table in the white space. |
IT
|
Fix deselect row on scroll click in modal #259
Tested. Works nicely as required.
|
The text was updated successfully, but these errors were encountered: