Skip to content

Semantic highlighting fails when scrolling below a certain position #4407

Open
@jules-contact

Description

I have a weird comportement when i have a tag in the same file

Enregistrement.de.l.ecran.mp4

Repro :

<script setup lang="ts">
const bordered = defineProps({
  tag: {
    type: String,
    default: 'div',
  },
  background: {
    type: String,
  },
})
</script>

<template>
  <component
    :is="bordered.tag"
  >
    <slot />
  </component>
</template>

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions