Modal when opened changes the url
See original GitHub issueIssue
Description
Whenever a modal window is opened, the url gets appended with #something
. In case of popup this dosen’t make sense.
Screenshot
![screen shot 2018-10-31 at 9 26 35 am](https://user-images.githubusercontent.com/2995641/47765398-c5e1bc80-dcef-11e8-81ab-9177db81b6ec.png)
![screen shot 2018-10-31 at 9 26 06 pm](https://user-images.githubusercontent.com/2995641/47801345-0541f480-dd54-11e8-93af-58177f475ad3.png)
Steps to Reproduce
- Click on Cookies Policy
- Observe the url
Direct Requirements
- Do not update the url
- Please apply same fix to Privacy Policy, Terms and Condition and Cookie Policy in the footer
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Open modal and then change the url without redirecting
I'm trying to open a modal and change the url but stay on the same page. So it should just open a modal...
Read more >Any way to change URL when modal is open? #250 - GitHub
You might be able to use the browser's window.history.pushState API within an event handler, possibly the 'modal:before-block' event.
Read more >How to Update / Change URL when Popup Modal Loads?
I'm looking for a way to have a popup modal with a form, and whent he popup loads, ...
Read more >How to change a URL when I open a modal with NextJS?
When you open a card -- the URL changes, but the state in the background layout remains the same. See the video example...
Read more >Got Url Changes When Modal Dialog Open But I Need To ...
Got Url Changes When Modal Dialog Open But I Need To change Original url When I Close Modal using(jquery.history.js).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The policy in my opinion should have a direct link URL. So the URL should change when visiting any of the policy pages. You will need these URLs when integrating with things like Google or Facebook tracking.
Oh my bad, I didn’t know there was a tertiary button that will be a better fit.![cook](https://user-images.githubusercontent.com/29065069/47790193-d194a980-dd16-11e8-886f-187f0d7cd3c6.JPG)