Skip to content
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

Bug / UI : Alert scroll-jack #7

Closed
Lewiscowles1986 opened this issue Feb 13, 2019 · 1 comment
Closed

Bug / UI : Alert scroll-jack #7

Lewiscowles1986 opened this issue Feb 13, 2019 · 1 comment

Comments

@Lewiscowles1986
Copy link

When accessing the alert examples it'd be nice if they were in-line or had fixed position so they did not lose my place on page, or had a mechanism to return me to where I was on page.

@Shreerang
Copy link
Owner

Alert is a component that let's you configure "global" vs "inline" alerts and warnings.

Several times when you have more than one inline errors/warnings sites show a global warning at the very top of the form/page. At this time, the page should scroll to the top or to the "top of form" where the global error is shown. Even in case of inline error, the page should scroll to the form field that is erroneous.

Also in case of server side errors, like API not responding or sending an empty response or an error response that needs to be shown globally, we need a global error that is shown at the top of the page or form and need to scroll the user to the error/warning location.

This is all available in the current Alert component. Demo here - https://ecommerce-vue-nuggets.herokuapp.com/

I am going to close this as "not a defect" unless you have a specific use case that I haven't quite understood.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants