Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable18] Fix clicks on actions menu of non opaque file rows in acceptance tests #22504

Merged
merged 1 commit into from
Aug 31, 2020

Conversation

backportbot-nextcloud[bot]
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Aug 30, 2020

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #22481

@juliushaertl
Copy link
Member

  Fatal error: Call to undefined method FileListContext::openFileActionsMenuForFile() (Behat\Testwork\Call\Exception\FatalThrowableError)

@danxuliu Mind to have another look here?

When a row is added to the file list the opacity of the file row is
animated from transparent to fully opaque. As the file actions menu is a
descendant of the row but overflows it when the row is not fully opaque
clicks on the menu entries "fall-through" and are received instead by
the rows behind.

The opacity animation is a CSS animation, and it is not possible to know
if a row is appearing or not except from its opacity (the row will have
the "appear" CSS class even after the animation ended). Therefore it
should be waited until the row of the file is fully opaque before using
the menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu
Copy link
Member

Conflict fixed, but let's see what Drone says ;-)

@juliushaertl juliushaertl merged commit db36ad5 into stable18 Aug 31, 2020
@juliushaertl juliushaertl deleted the backport/22481/stable18 branch August 31, 2020 13:42
@rullzer rullzer mentioned this pull request Sep 4, 2020
@MorrisJobke MorrisJobke mentioned this pull request Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants