Overview

A user should be able to scroll the layers menu if they are dragging an item to a different layer. This works on chrome, but doesn't on Firefox. The preview canvas scrolls instead. See gif.

Proposed resolution

The standard behavior would be for the layers menu to be scrollable while a user is dragging a layers menu item.

See gif:

User interface changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hooroomoo created an issue. See original summary.

parthbcharya made their first commit to this issue’s fork.

omkar-pd’s picture

StatusFileSize
new1.31 MB

Currently, it scrolls while dragging in the layers menu.

cant scroll

hooroomoo’s picture

StatusFileSize
new2.89 MB

@omkar-pd Are you using chrome?

Looks like it works on Chrome after testing it, but I just tested it on Firefox (my default browser) and it looks like the preview canvas is receiving the drag event and not the layers menu so the preview is scrolling instead of the layers menu.

firefox

hooroomoo’s picture

Title: Add scrolling on drag in the layers menu » Scrolling on drag in layers menu doesn't work in Firefox
Issue summary: View changes
Issue tags: +stable blocker
omkar-pd’s picture

Yes, @hooroomoo, I'm using chrome.

Let me test this in Firefox.

parthbcharya’s picture

Assigned: Unassigned » parthbcharya
Status: Active » Needs work

parthbcharya’s picture

Status: Needs work » Needs review
wim leers’s picture

Assigned: parthbcharya » hooroomoo
hooroomoo’s picture

Title: Scrolling on drag in layers menu doesn't work in Firefox » [PP-1] Scrolling on drag in layers menu doesn't work in Firefox
Status: Needs review » Postponed

Marking as postponed on #3520438: Refactor Layers UI to use DnDKit as it is possible it might be solved by that, or not to waste anyones effort if another fix is needed after the move to dnd kit

hooroomoo’s picture

Assigned: hooroomoo » Unassigned
drupalbabaji’s picture

StatusFileSize
new925.93 KB

Dev tested on local dev enviornment with branch 'layers-dndkit' of issue https://www.drupal.org/project/experience_builder/issues/3520438 . Issue is not reproducible on firefoxfirefox scroll on drag issue

jessebaker’s picture

Status: Postponed » Closed (outdated)

Closing this as it's no longer an issue once #3520438: Refactor Layers UI to use DnDKit lands.