UI: better modal backdrop opacity fading (#26328)

The fading should now be function of the swipe position. We should also correctly instantly remove the fading when closing the modal.
This commit is contained in:
Joffrey JAFFEUX
2024-03-22 22:49:01 +01:00
committed by GitHub
parent 0ed1b4537b
commit 9855b794e9
4 changed files with 26 additions and 4 deletions
@@ -86,6 +86,7 @@ module PageObjects
def bookmark_message(message)
if page.has_css?("html.mobile-view", wait: 0)
click_message_action_mobile(message, "bookmark")
expect(page).to have_css(".d-modal:not(.is-animating)")
else
hover_message(message)
find(".bookmark-btn").click