Closed afbora closed 3 years ago
It revealed another issues:
To Reproduce
Steps to reproduce the behavior:
Right now, for me in Google Chrome the forward button gets disabled immediately after clicking the back button.
I would imagine this is due to the simplification @bastianallgeier made: https://github.com/getkirby/kirby/blob/develop/panel/src/config/fiber.js#L204
I didn't realize browser buttons because I always use mouse back/forward buttons 🙂
Ok back/forward buttons now work, but yes seeing the JSOn responses.
I think on back/forward buttons we need to do a full reload.
Just tried to debug it and test... but now back button works again, but instead the forward button gets disabled immediately.
I think it's a problem that we modify the history again in the reload method. We should have a way to reload the state without changing the history again.
I would like to close this in favour of a new issue.
The flickering does no longer happen. But now the forward button does not work at all.
Describe the bug
Panel view flickering/appearing when click back button after logout.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If user no permission, user should redirect without flicker or view the page that have no access.
Screenshots
Kirby Version
3.6.0 develop branch
Console output