Hello, I did not manage to find a similar problem description on any of the forums, so I am posting it here.
I am using Navigator in my Vaadin-Spring application as stated
here
.
The problem arises when the view is changed from default to some other view and then changed back to the default (does not matter programmatically or by typing uri fragment directly in browser).
So when the default view loads, the view itself is doubled, i.e the window horizontally splits and I have two instances of the default view, and when again going to some other view and back, the previous doubled view is multiplied by 2, and so on and on…
Example:
- navigating to the default view: http://localhost:8080 (result: default view is displayed OK)
- navigating to some other view: http://localhost:8080/#!register (result: some other view is displayed OK)
- pressing browser back button: http://localhost:8080/# (result: default view is displayed doubled PROBLEM)
or - directly typing in browser: http://localhost:8080/# (result: default view is displayed doubled PROBLEM)
See image attached.
Please note that it is not the case when typing the http://localhost:8080 address without any trailing /# (forward slash and hash symbols)
So the question is the following is there any workaround to get rid of /# or am I doing wrong?
Thanks.