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

globalHistory.pushState function excuted failed in baidu.app #952

Open
zhaohongyan opened this issue May 2, 2022 · 0 comments
Open

globalHistory.pushState function excuted failed in baidu.app #952

zhaohongyan opened this issue May 2, 2022 · 0 comments

Comments

@zhaohongyan
Copy link

zhaohongyan commented May 2, 2022

https://github.com/remix-run/history/blob/dev/packages/history/index.ts line497
I encountered a compatibility problem. When using Baidu app, the page could not be jumped. After debugging, it was found that the globalHistory.pushState method was not executed or failed to execute. Other browsers do not have this problem.

<BrowserRouter>
    <Routes>
        <Route path="/" element={<Home />} />
        <Route path="/about" element={<About />} />
        <Route path="/page" element={<Page />} />
    </Routes>
</BrowserRouter>

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

1 participant