Closed (duplicate)
Project:
Drupal core
Version:
8.5.x-dev
Component:
settings_tray.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Aug 2017 at 18:54 UTC
Updated:
30 Aug 2017 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
GrandmaGlassesRopeManComment #3
tedbowPatch looks good. Previous issue already determined this was the correct fix.
Comment #4
prestonso commentedPrefixing issue title with "[regression]" to distinguish from #2888305: In Settings Tray the when form is longer than page body it is tricky to scroll to the very bottom., which is identically named.
Comment #5
droplet commentedPatch doesn't explain why it will happen. and I think this issue:
#2902304: Remove `scroll.off-canvas` event
Comment #8
star-szrDamn, I missed #5 while in the process of reviewing, testing, and committing this patch.
Here's the comment I had drafted:
I remember seeing this when reviewing and going "hmm" but looks like I neglected to include it in my actual review.
I tested manually before and after and confirmed the fix. The gifs in #2888305-6: In Settings Tray the when form is longer than page body it is tricky to scroll to the very bottom. were useful for confirming that I was testing the right thing.
Committed 845b1c6 and pushed to 8.5.x. Thanks!
Going to leave this for now but it might get reverted if the other fix is more correct.
Comment #9
star-szrIt does look to me like #2902304: Remove `scroll.off-canvas` event fixes this bug in a more direct way. If we can confirm this fix would not needed if #2902304: Remove `scroll.off-canvas` event is committed, then I'll go ahead with reverting this commit but I'd like confirmation from @drpal and/or @tedbow before I go ahead with that in case I'm missing something.
Comment #10
droplet commentedAlso,
You should always reload the page and open ONE dialog per time on testing. Otherwise, you may observe a different behavior on debugging:#2902429: Remove previous event handlers when opening new off-canvas block edit form in the off-canvas dialog
(Highly recommend the outside_in team get #2902429 in before other issues to avoid unexpected reflow)
Comment #11
star-szrTweaking title as I did for the commit and setting to NR for now.
Comment #12
star-szrBump, don't really want to revert this without a proper solution (it does make it very hard to use) but I do want to make sure we have the right solution in place :)
Comment #13
GrandmaGlassesRopeManI'm in favor of reverting this, and replacing this fix with the more direct one from #2902304: Remove `scroll.off-canvas` event 👍
Comment #15
star-szrThanks @drpal, reverted and closing as a duplicate.
Comment #16
tedbowChanging to new settings_tray.module component. @drpal thanks for script help! :)