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

[Documentation] Deprecated useDisplay properties (xsOnly, smOnly, mdOnly, lgOnly, xlOnly) #20039

Open
overclocked555 opened this issue Jun 21, 2024 · 0 comments

Comments

@overclocked555
Copy link

overclocked555 commented Jun 21, 2024

Environment

Vuetify Version: 3.6.10
Vue Version: 3.4.29
Browsers: Chrome 126.0.0.0
OS: Windows

Steps to reproduce

Open repro link

Expected Behavior

  1. Deprecated useDisplay properties (xsOnly, smOnly, mdOnly, lgOnly, xlOnly) removed from documentation (Display & Platform -> Breakpoint conditionals).
  2. Upgrade Guide contain a note that these properties are deprecated and a suggestion to use other properties instead (xs, sm, md, lg, xl).

Actual Behavior

  1. Display & Platform -> Breakpoint conditionals: "Additionally, the breakpoint composable follows the Vuetify Grid
    naming conventions and has access to properties such as xlOnly, xsOnly, mdAndDown, and many others."
    Breakpoint and conditional values return a `boolean` that is derived from the current viewport size. Additionally, the **breakpoint** composable follows the [Vuetify Grid](/components/grids) naming conventions and has access to properties such as **xlOnly**, **xsOnly**, **mdAndDown**, and many others. In the following example we use the `setup` function to pass the _xs_ and _mdAndUp_ values to our template:
  2. Upgrade Guide do not indicate that these properties are deprecated.

Reproduction Link

https://vuetifyjs.com/en/features/display-and-platform/#breakpoint-conditionals

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

1 participant