Skip to content

feat(resize-handle): add onChangeRejected() callback #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 19, 2025

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented May 19, 2025

As we don't call onChange() without actual changes in DOM (#375), there is no way to know that there is a resize attempt outside of CSS clamp range. This PR adds onChangeRejected() callback:

image

New test cases added, the story is updated.

@layershifter layershifter marked this pull request as ready for review May 19, 2025 09:38
@layershifter layershifter merged commit 80b53fc into microsoft:main May 19, 2025
3 checks passed
@layershifter layershifter deleted the feat/resize-outside-bounds branch May 19, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants