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 Report][3.1.2] Multiline snackbar example isn't multi-line #15996

Open
Maxhodges opened this issue Oct 30, 2022 · 1 comment
Open

[Bug Report][3.1.2] Multiline snackbar example isn't multi-line #15996

Maxhodges opened this issue Oct 30, 2022 · 1 comment
Assignees
Milestone

Comments

@Maxhodges
Copy link
Contributor

Maxhodges commented Oct 30, 2022

Environment

Vuetify Version: 3.0.0-beta.15
Vue Version: 3.2.41
Browsers: Chrome 106.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

Your demo in the docs for multi-line SNACKBAR isn't multi-line. So it's not clear how to do multi-line.
I tried "line one\nline two" but that didn't work.
i need a better example

Expected Behavior

show two lines

Actual Behavior

shows one line

Reproduction Link

https://codepen.io/maxhodges/pen/oNyjZaQ?editors=101

@Maxhodges Maxhodges changed the title [Bug Report][3.0.0-beta.15] Multiline snackbar demo is single-line [Bug Report][3.0.0-beta.15] Multiline snackbar example isn't multi-line Oct 30, 2022
@Viicos
Copy link

Viicos commented Oct 31, 2022

The multi-line prop is supposed to be a boolean, and the 2.x docs example is indeed unclear, as it is using the prop this way:

:multi-line="multiLine"

In the 3.x docs, the multi-line prop is used correctly, but the example text is misleading as it includes a \n character and text is not wrapped according to this newline character.

@johnleider johnleider added this to the v3.1.x milestone Jan 22, 2023
@johnleider johnleider changed the title [Bug Report][3.0.0-beta.15] Multiline snackbar example isn't multi-line [Bug Report][3.1.2] Multiline snackbar example isn't multi-line Jan 22, 2023
@johnleider johnleider modified the milestones: v3.1.x, v3.x.x Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants