Comments (3)
I don't think we have a big interest in supporting context menus. Mostly because they are only for mouse users and are frequently (not on purpose though) used without other input methods being considered.
It's a bit of a slippery slope argument though, so I won't say never. Only that it's not a priority.
Linking to related Issue #5020
from react-spectrum.
That's fair. It's possible albeit a bit awkward to do context menus today. Feel free to close this issue 👍
from react-spectrum.
FWIW, this could be made easier to do, but it is possible to implement today using the offset and crossOffset props props on Popover. Basically force the placement to always bottom left, and then adjust the offset relative to that.
https://stackblitz.com/edit/rac-context-menu?file=src%2FApp.tsx
from react-spectrum.
Related Issues (20)
- useDateSegment crashes on null reference during unmount HOT 1
- Adjusting screen reader (VoiceOver MacOS) reading order for a react-aria-components HOT 1
- Context Slots are not Extensible HOT 1
- NumberField step attribute doesn't work for values with more than 3 fraction digits HOT 2
- `createLeafComponent` Outputs Incorrect RefAttributes Type HOT 2
- Sticky `data-hovered` on `Row` if `Popover` can be opened from inside it HOT 5
- [Calendar/RangeCalendar] Allow controlling visibleRange
- Display DatePicker calendar popover when the date segments gain focus
- Select / ComboBox Open State isn't Persisted into Button's isPressed Render Prop HOT 2
- GridList renderEmptyState cannot be a Component with Hooks HOT 2
- (0 , $lislG$swchelperscjs_class_private_field_initcjs._) is not a function HOT 1
- [RAC] NumberField really strange behavior HOT 3
- Tooltip causing ResizeObserver issue HOT 4
- Select with additional buttons traps focus
- Cannot setup dev environment HOT 6
- Multiple auto-dismiss toasts HOT 1
- Exception when dragging items in RAC ListBox with sections HOT 2
- Rules of hooks error in `useLinkProps` HOT 2
- Custom FieldError message overrides the error messages coming from Form's validationErrors HOT 6
- `scroll-padding` not respected when `ListBox` is rendered in a `Popover` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-spectrum.