Skip to content

Suggestion: Support unmount by going back the browser #100

Open
@thyeone

Description

@thyeone

Hello. first of all, thank you for the great library :) No other than that, I have a simple suggestion.

When I use overlay in a web view environment, I want it to be compatible with going backwards in the browser and going backwards in Android.

So the way I tried to solve it, by adding browser history when the overlay is mounted on OverlayController in the previous version of the overlay-kit, @toss/useoverlay source code.

However, I had the following limitations.

  • If there are components within the overlay that call useOverlay hook, there will be more than one stack of history. (It should work that one stack is stacked).
  • This is a Native part and may not be relevant to the library, and it's awkwardly unmountable when swipe the screen in iOS and remove the history.

I wonder if these parts can be improved and if there are any plans to support.

Thank you !

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions