mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 20:18:23 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user