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

Serious BUG of Modal about browser's back button #412

Closed
fuybooo opened this issue Oct 9, 2017 · 3 comments
Closed

Serious BUG of Modal about browser's back button #412

fuybooo opened this issue Oct 9, 2017 · 3 comments
Labels

Comments

@fuybooo
Copy link

fuybooo commented Oct 9, 2017

I'm submitting a...


[x] Bug report  
[x] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior

When I use Modal's service open a modal, then I click the browser's back button, I get a serious BUG! The scroll is hidden!

Expected behavior

The scroll is normal.

Minimal reproduction of the problem with instructions

At https://ng.ant.design/#/components/modal we can see it.

  1. click Grid
  2. click Modal
  3. click '显示对话框'
  4. click browser's back button
  5. the scroll is hidden!

What is the motivation / use case for changing the behavior?

Environment


Angular version: X.Y.Z

ng-zorro-antd version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

@fuybooo
Copy link
Author

fuybooo commented Oct 9, 2017

When I open a Component Modal , then I click the browser's back button , the modal is still visible.

@fuybooo
Copy link
Author

fuybooo commented Oct 17, 2017

this bug is also existed。

When I open a Component Modal , then I click the browser's back button , the modal is still visible.

@lock
Copy link

lock bot commented Feb 19, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants