Comments (6)
Just released 1.5.0
which adds this feature. Can you try it and let me know if it works? I didn't have time to test it but I think it should.
<DropdownMenu.Trigger action="longPress">
<Text>Open</Text>
</DropdownMenu.Trigger>
from zeego.
This feature does not work in the reversed scenario, which is my case:
<ContextMenu.Trigger action="press">
<Text>Open</Text>
</ContextMenu.Trigger>
Used libraries:
"zeego": "^1.6.2"
"expo-dev-client": "~2.4.6"
"expo": "^49.0.0"
from zeego.
Thanks for flagging that, I would accept a PR with a fix.
from zeego.
Is the context menu what you want perhaps? That opens on long press.
from zeego.
On Android context menu does the job, on iOS context menu will blur the whole screen + show a preview but I have nothing to preview. Also, context menu on iOS have a delay (#33) which is annoying.
I'd like to use dropdown menu as it have the exact behaviour I want on iOS.
from zeego.
Just tried it and it works perfectly. Thank you for the blazing fast support!
from zeego.
Related Issues (20)
- Docs menu bug on mobile HOT 2
- Error building the app (pod install fails) HOT 6
- Z-index issue on web in modal HOT 1
- V2 RFC HOT 1
- Can't install on React Native CLI HOT 4
- Ability to change menu theme on android HOT 3
- Why DropdownMenu.ItemIcon is not showing when used in a custom component? HOT 1
- Delay on ContextMenu onSelect HOT 8
- onOpenChange not firing HOT 1
- Android ContextMenu is opening to the left
- Issue when installing Zeego
- Auxiliary gets smaller every time HOT 4
- [iOS] Dropdown menu items ordered incorrectly. HOT 3
- Question: Two Previews or Two Separate Context Menus HOT 5
- Where to find icons for `androidIconName` prop HOT 6
- Question re: tapping outside a DropdownMenu
- expo-router Stack.Screen headerTitle aligned to left instead of center HOT 1
- Context menu doesn't work at all on the web HOT 1
- iOS Context Menu Ignores action Prop and Defaults to Long Press
- Prevent ContextMenu Preview from dismissing ContextMenu when pressed
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 zeego.