base-ui icon indicating copy to clipboard operation
base-ui copied to clipboard

[menu] Remove `disabled` prop from triggers

Open michaldudak opened this issue 6 months ago • 2 comments

Experimenting with a solution to #1976. Do not merge.

michaldudak avatar May 28 '25 16:05 michaldudak

Open in StackBlitz

npm i https://pkg.pr.new/@base-ui-components/react@1984

commit: 2d5b3dc

pkg-pr-new[bot] avatar May 28 '25 16:05 pkg-pr-new[bot]

Deploy Preview for base-ui ready!

Name Link
Latest commit 2d5b3dce2b973686da6568dec8da26601b3dd487
Latest deploy log https://app.netlify.com/projects/base-ui/deploys/683736336399dd000805336c
Deploy Preview https://deploy-preview-1984--base-ui.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar May 28 '25 16:05 netlify[bot]

I'm going to continue supporting the prop on both the Trigger and the Root, as it makes more sense when there are multiple triggers present (#3031). Setting disabled on a trigger will disable just this particular trigger, while setting it on the root disables all the triggers.

michaldudak avatar Oct 22 '25 19:10 michaldudak