react-tabtab icon indicating copy to clipboard operation
react-tabtab copied to clipboard

DragTab can't trigger close

Open insub opened this issue 7 years ago • 3 comments

Version: ^1.81 (npm) If change dragTab to Tab then close event is fine.

And official mix all feature example has same issue (Windows 7 / Chrome 66.0.3359 )

insub avatar Sep 04 '18 07:09 insub

If pressDelay = 100,Click the close button is invalid. If pressDelay = 500,Click the close button is fine.

insub avatar Sep 12 '18 06:09 insub

I think it's because the click event hides the li element and creates new one with fixed position where the close button isn't a child. Preferably, the close button shouldn't be a child of the li element, but a sibling.

hlolli avatar Jan 08 '20 22:01 hlolli

Even the example given is having problem in windows with draggable tabs and close button

MukeshNegi-brillmark avatar Mar 03 '20 05:03 MukeshNegi-brillmark