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

Is it possible to multiple popup Views in one View‘s popup funciton? #233

Open
Imbad-vc opened this issue Feb 19, 2025 · 1 comment
Open

Comments

@Imbad-vc
Copy link

First Thanks for your contribution.

At present, rewriting the popup method in the already popped view can perform multiple popups, but for some reason I need to popup multiple views in one root view, and I hope they can be popped directly in one popup method.
I tried using the “.popup(item: <#T##Binding<Equatable?>#>, itemView: <#T##(Equatable) -> View#>)” funciton to distinguish which views I need to pop up through the item, but when the new view is popped up, the old view that was popped up disappears.

Please let me know if you have any information.

@f3dm76
Copy link
Collaborator

f3dm76 commented Feb 21, 2025

Hey @Imbad-vc, sorry, I didn't understand anything. please explain step by step, provide code samples and pictures if applicable

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

No branches or pull requests

2 participants