Mayank
Mayank
Echoing some of the earlier comments but with the added foresight of invokers, I think this could be handled with a new attribute like `disclosure`. Example: ```html Show more …...
@JoshTumath I think the power of this API is in the implicit toggle whose state is maintained by the user agent. - The user agent doesn't really need to set...
If this is meant to be a low-level disclosure primitive, then it shouldn't mess with the searchability. Today, the contents of `` being exposed to find-in-page (in certain browsers) greatly...
While this is frustrating, I was able to work around it using [CSS layers](https://css-tricks.com/css-cascade-layers/). ```html @import url('../path/to/css') layer(layer-1); @import url('../path/to/css-2') layer(layer-2); /* unlayered styles take preference over any layers */...
Thanks for reporting this. I think this should be considered as a feature request, because the `defaultValue` prop was not even exposed before `native` mode was added in #1879. (It...
I honestly thought it was a bug that the url bar does not get focused when a window is opened. @mauro-balades > it will automatically focus the URL This is...
The problem is that these are not unique enough. `[data-open]` and `[aria-expanded]` will both apply to _all_ disclosures. It is useful to have something unique for _floating_ elements. --- Let...
Would you be able to share more details about what makes it difficult to achieve this using controlled Table state? We want to hear all the pain points you've experienced....
I think the following `stateReducer` (without `useControlledState`) should get you pretty far. (No need for setting state inside `stateReducer`, which might cause React to error out.) Outdated code Instead see...
**Forked sandbox that handles these three issues: [stackblitz.com/edit/github-odlhizmt-qjzdewg6](https://stackblitz.com/edit/github-odlhizmt-qjzdewg6?file=src%2FApp.tsx,src%2FuseTableState.ts)** > Select a row without children not using checkbox - not working This was an oversight: there was a `return newState` catch-all...