Skip to content

[Bug Report] Missin elevation 0 #9157

Closed
@FernandoFranco

Description

@FernandoFranco

Environment

Vuetify Version: 1.5.18
Vue Version: 2.6.10
Browsers: Google Chrome, Mozilla Firefox, Safari, Microsoft Edge, Internet Explorer, Opera
OS: Linux, Mac OSX, iOS, Android, Windows

Steps to reproduce

Create a card with elevation 0

Expected Behavior

Card with elevation 0 (flat)

Actual Behavior

Card with default elevation

Reproduction Link

https://codepen.io/fernando_franco/pen/RwbzZxP

Other comments

Change line 15 in https://github.com/vuetifyjs/vuetify/blob/v1.5.18/packages/vuetify/src/mixins/elevatable.ts to:

if (!this.computedElevation && this.computedElevation !== 0) return {}

Metadata

Metadata

Assignees

Labels

T: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions