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

Position toast within dialog #35

Open
davbaron opened this issue Mar 17, 2020 · 0 comments
Open

Position toast within dialog #35

davbaron opened this issue Mar 17, 2020 · 0 comments

Comments

@davbaron
Copy link

I believe this is an enhancement request. I would like to show a toast within a dialog, meaning, the 'x' and 'y' properties would be relative to either the 'current' component (if that can be deduced) or a named component. As an example, I have a 'Sign In' component that is popped up in a modal dialog. The 'window' (of the dialog) is small in comparison to the overall browser window. If the user provides a bad password, the 'error message' is a toast, however it appears at the bottom of the browser, not at the bottom of the Sign In 'window', and is thus harder to 'see' (since eye focus is still on the Sign In content, in the middle of the screen, versus the bottom of the screen).

I see that the Vuetify snackbar has an Absolute property, however there is no example for it and I do not understand what setting it to true actually does (aside from setting 'position:absolute' in css). I do not for instance see a numerical 'x' or 'y' coordinate property. Another widget library, Buefy, offers a snackbar widget, and they do include a 'component' property, i.e., 'display this snackbar relative to that component'.

Thank you!

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

1 participant