Skip to content
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

fix(toggle): block pointer events when disabled #3774

Merged
merged 1 commit into from
May 3, 2024

Conversation

ShrinidhiUpadhyaya
Copy link
Contributor

Description

When the toggle is disabled it is still accepting pointer events.

ToggleDisabledCurrent.mp4

Current behavior

cursor: not-allowed;

New behavior

pointer-events: none;

Copy link

codesandbox bot commented Apr 30, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rsuite-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 2:03pm
rsuite-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 2:03pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
rsuite-v4 ⬜️ Ignored (Inspect) Visit Preview Apr 30, 2024 2:03pm

Copy link

vercel bot commented Apr 30, 2024

Someone is attempting to deploy a commit to the rsuite Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Member

@simonguo simonguo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simonguo simonguo merged commit d833a0a into rsuite:main May 3, 2024
14 checks passed
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.

None yet

2 participants