buttons are not properly rendered when going back into history
-
When I open the page buttons are fine:
When I go to another url and then return hitting the browser’s go back button I get not properly rendered buttons:
When I refresh they are fine again. What is going on?
-
Some browser issue? Can you post a repo with a barebones example?
-
Mmmh in Firefox (instead of Chrome) the old page remains in view although the url changes inline with going back in history. Looks like it is not refreshing or something. Any idea (before I post a repo…)?
-
Must be a misuse of vue-router somewhere within your app.
-
Hi,
Seems like child.vue (from your app) CSS line 77 breaks buttons:
button
min-height 0 !important
border-radius 0 !importantIf you need that style on a certain button, use a more specific selector in child.vue.
Cheers,
Razvan -
Works! Thanks!