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

How to remove border when dragging piece vver the board? #177

Open
vmonastyrov opened this issue Dec 13, 2024 · 1 comment
Open

How to remove border when dragging piece vver the board? #177

vmonastyrov opened this issue Dec 13, 2024 · 1 comment

Comments

@vmonastyrov
Copy link

Hello,

I hope you're doing well. I am trying to figure out how to disable the 5-pixel border that appears when dragging a piece over the board. I am encountering the same issue described in this issue, but I need to ensure that the border is completely removed, not just the flashing. I have tried overriding the styles for the square in the onDragOverSquare function, but it doesn't seem to work. My background appears, but the border still shows up as well.

Thanks in advance for your help!

@Epitomaniac
Copy link
Contributor

customDropSquareStyle={null}

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

No branches or pull requests

2 participants