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

VaButtonDropdown: incorrect teleport element when split prop is true #4394

Closed
m0ksem opened this issue Oct 15, 2024 · 0 comments · Fixed by #4395
Closed

VaButtonDropdown: incorrect teleport element when split prop is true #4394

m0ksem opened this issue Oct 15, 2024 · 0 comments · Fixed by #4395

Comments

@m0ksem
Copy link
Collaborator

m0ksem commented Oct 15, 2024

          Hi, I'm using the same VaLayout as Vuestic Admin. The issue only seems to affect the VaButtonDropdown content. For example, this is a button placed at the left of the main content:
<VaButtonDropdown
  split
  preset="primary"
  label="Filter"
  size="small"
>
  // content is VaList as shown above
</VaButtonDropdown>

Elsewhere I'm using VaDropdown in a similar position to the left of the main content, and it doesn't have the same issue:

<VaDropdown trigger="hover" hover-over-timeout="100">
  <template #anchor>
    <VaButton
      size="small"
      preset="primary"
      border-color="secondary"
      icon="mso-more_vert"
    />
    </template>
        <VaDropdownContent>
            // content as shown below
        </VaDropdownContent>
</VaDropdown>

Which results in:
image

I'm managing to workaround the issue by simply using placement="right-end" on the VaButtonDropdown.

Originally posted by @beard7 in epicmaxco/vuestic-admin#1053 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant