Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: Widgets screen can not deselect a block #17851
This PR adds behavior to unselect the current widget area (and as a consequence the selected block) when the gray area outside the widget areas is clicked.
How has this been tested?
I went to the widget screen.
Hi @mapk, that was happening because of the way padding and margins previously worked. The good news is that there was a change in the block editor, and not the problem is not happening. The bad news is that the change break how widget screen margins worked. I am fixing the margins at #18528 (straightforward change). After the margins are fixed it should be possible to see that this PR works as expected.