Bugfix: Clicking in the middle of the row in the file list downloads the file#39361
Bugfix: Clicking in the middle of the row in the file list downloads the file#39361AlexAndBear merged 2 commits intomasterfrom
Conversation
|
💥 Acceptance tests pipeline webUIFavorites-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
eae4528 to
980ae43
Compare
980ae43 to
f04b62b
Compare
f04b62b to
49cf352
Compare
|
Some additional changes to consider: I've only checked with the files app (just with firefox), and it looks better with those changes. The comment about the dropdown seems partially obsolete: the window is scrolled down to show all the items. Again, I've just checked with firefox, and some stuff might not be compatible with all the browser (such as IE), so we still need to verify the proposed changes. |
|
@jvillafanez Yes, there is a lot of unused and mis-commented stuff in there, I don't want to touch any of them |
| } | ||
|
|
||
| /* make sure there's enough room for the file actions */ | ||
| #body-user #filestable { |
There was a problem hiding this comment.
Note this has been ignored in all modern browsers by
@media only screen and (max-width: 768px)
#body-user #filestable {
min-width: initial !important;
}
but not on IE11 which was responsible for UI glitches
|
Checked with different browsers , LGTM |
|
Kudos, SonarCloud Quality Gate passed!
|








Description
This change addresses the issue if the user clicks in on a row in the file list,
the file gets downloaded or open with the default viewer.
This was not intended, the download or default opening should only happen if
the user clicks directly on the file name.
Problems with mobile devices, where the file name was too long to display,
has been also solved.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Mobile view
Before

After

Types of changes
Checklist: