-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Fix navigation issues with model cards #2211
Conversation
Fixes openhab#2196. Reverts openhab#2074. I have tried messing around with the browser history manually to fix that issue, however trying several approaches, none worked perfect. This is the best solution I could come up with, it at least remembers which tab you had opened when you navigate back to the home page from any other page. Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@ghys Can you please have a look at this soon? (Not code-wise, but about the approach.) This is an important fix for 4.1. |
Job #1301: Bundle Size — 15.81MiB (+0.32%).Important Bundle introduced 1 and removed 1 duplicate package – View changed duplicate packages Warning Bundle introduced 13 new packages: @jsep-plugin/regex, @jsep-plugin/arrow, @jsep-plugin/object and 10 more – View changed packages Bundle metrics
Bundle size by type
View job #1301 report View florian-h05:fix-2196 branch activity |
Yes I will have a close look at it this week. |
@florian-h05 #2221 should fix the problem and keep the routes. |
Fixes #2196. Replaces #2211. The double back navigation was caused by: https://github.com/framework7io/framework7/blob/31f4c7065e8abe9b8b27f354de4e390a8cd584c0/src/core/utils/history.js#L56-L61 and `router.updateCurrentUrl()`, unlike the name implies, doesn't update `router.url` for some reason (maybe a bug?). ----- Signed-off-by: Yannick Schaus <github@schaus.net>
Fixes #2196.
Reverts #2074.
I have tried messing around with the browser history manually to fix that issue, however trying several approaches, none worked perfect. This is the best solution I could come up with, and it at least remembers which tab you had opened when you navigate back to the home page from any other page.