Skip to content

Conversation

crisbeto
Copy link
Member

The drop list has some logic that prevents auto-scrolling when the container isn't scrollable. It didn't account for RTL which meant that, even though the rest of the logic works in RTL, auto-scrolling was being disabled incorrectly.

Fixes #28326.

@crisbeto crisbeto added P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release labels Dec 27, 2023
The drop list has some logic that prevents auto-scrolling when the container isn't scrollable. It didn't account for RTL which meant that, even though the rest of the logic works in RTL, auto-scrolling was being disabled incorrectly.

Fixes angular#28326.
@crisbeto crisbeto force-pushed the 28326/drag-drop-horizontal-scroll branch from 3a19051 to 102e0a9 Compare December 30, 2023 10:54
@crisbeto crisbeto self-assigned this Jan 2, 2024
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jan 2, 2024
@crisbeto crisbeto removed the request for review from andrewseguin January 2, 2024 11:39
@crisbeto crisbeto merged commit 6db225e into angular:main Jan 2, 2024
crisbeto added a commit that referenced this pull request Jan 2, 2024
#28334)

The drop list has some logic that prevents auto-scrolling when the container isn't scrollable. It didn't account for RTL which meant that, even though the rest of the logic works in RTL, auto-scrolling was being disabled incorrectly.

Fixes #28326.

(cherry picked from commit 6db225e)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(cdkScrollable): Drag horizontal scrolling with cdkDropList item and cdkScrollable not working when dir = RTL
2 participants