mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-22 11:02:11 +03:00
Merge pull request #5330 from gitbutlerapp/e-branch-2
fix: Modal closes on mouse down outside
This commit is contained in:
commit
3b8a96ca47
@ -96,7 +96,7 @@
|
||||
use:portal={'body'}
|
||||
class="modal-container {isClosing ? 'closing' : 'open'}"
|
||||
class:open
|
||||
onclick={(e) => {
|
||||
onmousedown={(e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
if (e.target === e.currentTarget) {
|
||||
|
Loading…
Reference in New Issue
Block a user