Comments

drpal created an issue. See original summary.

GrandmaGlassesRopeMan’s picture

tedbow’s picture

Status: Needs review » Reviewed & tested by the community

Patch looks good. Previous issue already determined this was the correct fix.

prestonso’s picture

Title: In Settings Tray the when form is longer than page body it is tricky to scroll to the very bottom. » [regression] In Settings Tray the when form is longer than page body it is tricky to scroll to the very bottom.

Prefixing 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.

droplet’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)

Patch doesn't explain why it will happen. and I think this issue:
#2902304: Remove `scroll.off-canvas` event

  • Cottser committed 845b1c6 on 8.5.x
    Issue #2902361 by drpal: [regression] In Settings Tray when the form is...

Cottser credited Cottser.

star-szr’s picture

Damn, 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.

star-szr’s picture

It 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.

droplet’s picture

Also,

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)

star-szr’s picture

Title: [regression] In Settings Tray the when form is longer than page body it is tricky to scroll to the very bottom. » [regression] In Settings Tray when the form is longer than the page body it is tricky to scroll to the very bottom.
Status: Postponed (maintainer needs more info) » Needs review

Tweaking title as I did for the commit and setting to NR for now.

star-szr’s picture

Bump, 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 :)

GrandmaGlassesRopeMan’s picture

I'm in favor of reverting this, and replacing this fix with the more direct one from #2902304: Remove `scroll.off-canvas` event 👍

  • Cottser committed 10e6738 on 8.5.x
    Revert "Issue #2902361 by drpal: [regression] In Settings Tray when the...
star-szr’s picture

Status: Needs review » Closed (duplicate)

Thanks @drpal, reverted and closing as a duplicate.

tedbow’s picture

Component: outside_in.module » settings_tray.module

Changing to new settings_tray.module component. @drpal thanks for script help! :)