嘿,我有一个简单的可拖动 div,我已经给了边框半径。但是,一旦我开始拖动元素,当元素悬停在其自身上方时,它仍然有白色角。你可以在这里测试一下(请使用Chrome): https://play.tailwindcss.com/fKiBnLP0A0
此问题仅在 Chrome 中出现,在 Firefox 中不会出现。这也可能是顺风问题吗?
感谢您的帮助:)
这在 Chrome 中仍然存在问题。我发现可以通过设置可拖动元素的不透明度来解决这个问题。
添加不透明度-95
<div draggable="true" class="flex h-10 opacity-95 w-20 items-center justify-center rounded-full bg-blue-500 text-lg font-medium text-white hover:cursor-pointer">Test</div>