You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a "confirm action" page and would to have a cancel button that goes back in the navigation stack rather than pushing a new redirect to the previous page. This is because if someone was to then go back in the browser it will redirect them back to the confirm.
I don't understand how, if possible, to use IUriHelper to perform this action.
I would like some way of using the IUriHelper to "navigate back" rather than forwards to a new page, this is how to have correct back button semantics with native back buttons. Thanks.
(I am using blazor server side)
The text was updated successfully, but these errors were encountered:
Thanks for responding. I understand I can manually call the browser history API to perform this action, but this is not really correct due to this being a work around for an implementation detail. (IUriHelper is the interface for which the implementation could or could not use the browser history API.)
Is there no intent to support popping the navigation stack in blazor?
I am trying to build a "confirm action" page and would to have a cancel button that goes back in the navigation stack rather than pushing a new redirect to the previous page. This is because if someone was to then go back in the browser it will redirect them back to the confirm.
I don't understand how, if possible, to use IUriHelper to perform this action.
I would like some way of using the IUriHelper to "navigate back" rather than forwards to a new page, this is how to have correct back button semantics with native back buttons. Thanks.
(I am using blazor server side)
The text was updated successfully, but these errors were encountered: