Skip to content

Conversation

@J-Sek
Copy link
Contributor

@J-Sek J-Sek commented Nov 7, 2025

fixes #20398

  • we should not scope composable with dependency on provide() and vm

Note:

Markup:

<template>
  <v-app theme="dark">
    <v-footer :app="isAppFooter" color="grey"> Test </v-footer>
    <v-fab :app="isAppFab" color="grey" icon="mdi-cow" />
    <v-main>
      <v-btn @click="isAppFooter = !isAppFooter">toggle footer ({{ isAppFooter }})</v-btn>
      <v-btn @click="isAppFab = !isAppFab">toggle fab ({{ isAppFab }})</v-btn>
    </v-main>
  </v-app>
</template>

<script setup lang="ts">
  import { ref } from 'vue'

  const isAppFooter = ref(true)
  const isAppFab = ref(true)
</script>

@J-Sek J-Sek requested a review from johnleider November 7, 2025 20:01
@J-Sek J-Sek self-assigned this Nov 7, 2025
@J-Sek J-Sek added T: bug Functionality that does not work as intended/expected C: VFooter C: VFab labels Nov 7, 2025
@J-Sek J-Sek force-pushed the fix/vfooter-scope-around-layout-item branch from a4b69ae to 1463051 Compare November 7, 2025 20:56
@J-Sek J-Sek marked this pull request as draft November 11, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: VFab C: VFooter T: bug Functionality that does not work as intended/expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report][3.7.0] "Could not find injected layout" on toggling v-footer's app property

2 participants