vuetifyjs / vuetify

🐉 Vue Component Framework
https://vuetifyjs.com
MIT License
39.11k stars 6.92k forks source link

[Bug Report][3.6.1] VDataTable mobile shows header for sort & select when neither is applicable #19730

Open Brunosil97 opened 2 weeks ago

Brunosil97 commented 2 weeks ago

Environment

Vuetify Version: 3.6.1 Vue Version: 3.4.21 Browsers: Chrome 124.0.0.0 OS: Windows

Steps to reproduce

Use mobile prop on VDataTable where sortable is false and selecting are not applicable

Expected Behavior

To have mobile format for VDataTable without the header for sort/select

Actual Behavior

Mobile format for VDataTable with added header for sort/select

Reproduction Link

https://play.vuetifyjs.com/#...

webdevnerdstuff commented 2 weeks ago

The bug where select was in the mobile header when not enabled was fixed in v3.6.2. The sortBy, not yet.

Your Playground example has multiple errors in it. You are using header as a prop when it should be headers, you also have two v-app components and surround it with a div with the id of app.

This is a more accurate example. https://play.vuetifyjs.com/playgrounds/F17glA