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

add anchor support to web #166

Open
chrisdrackett opened this issue Apr 10, 2020 · 2 comments
Open

add anchor support to web #166

chrisdrackett opened this issue Apr 10, 2020 · 2 comments

Comments

@chrisdrackett
Copy link

web is closer to an iPad than iOS or android. Ideally it would support "pinning" the action sheet to an element in the same way.

@bradbyte
Copy link
Collaborator

Sorry for the delay 🤦. This is essentially Android/Web (non iOS). We would need the ability to position the view based on the anchor node.

@bradbyte
Copy link
Collaborator

We're essentially rendering the sheet over the entire view centered.. https://github.com/expo/react-native-action-sheet/blob/master/src/ActionSheet/index.tsx#L296. This would need to change to coordinates of the element position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants