Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

No drag events on buttons?#1301

Unanswered
herronelou asked this question inQ&A
Apr 9, 2024· 1 comments· 1 reply
Discussion options

Hello,
I've been trying to implement a drag and drop feature to re-organize elements in my app, and have struggled for a bit trying to do it with flowbite-svelte components, as none of the events seemed to trigger (dragstart, drag, dragend, dragover, etc..).

Upon replacing my Flowbite Buttons with regular buttons, everything worked as expected., is it expected that Drag and Drop isn't supported on Flowbite components?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

  1. Can you list the components that you need event forwarding.
  2. Can you list the events you need.
You must be logged in to vote
1 reply
@herronelou
Comment options

Thanks for your reply.

My case was very specific, needingdragstart,drag anddragend onButton,dragover onLi.
But I guess I'm wondering if there's a generic way I could access any event from any component, or if it requires modifying the components to forward the events.

I've made something like this:

Recording.2024-04-09.201100.mp4

The grey buttons aren't<Button>, they're good old<button> that I styled to look like a flowbite button.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@herronelou@shinokada

[8]ページ先頭

©2009-2025 Movatter.jp