NavigationView icon indicating copy to clipboard operation
NavigationView copied to clipboard

View A --> View B --> View A,Push not working

Open ghost opened this issue 3 months ago • 0 comments

When I was about to use it, I discovered a problem. Specifically, when pushing View A --> View B --> View A, the push function didn't work properly, and I didn't get an error. After reading the source code, I discovered that registering the same View with a different ID restored the problem.

This feels imperfect. I'd like to see a func canPush(view: View.Type) -> bool or func canPush(id: string) -> Bool function to indicate whether the function is working.

ghost avatar Aug 08 '25 02:08 ghost