Skip to content

Can't move widgets MacOS Monterey #1184

Closed Answered by johnlindquist
haydenbroadhead asked this question in Q&A
Discussion options

You must be logged in to vote

@haydenbroadhead

There's a special webkit property that will make a dom element drag its containing app:

await widget(`<img
style="-webkit-app-region: drag;"
src="https://cdn.midjourney.com/940b046a-818e-49ed-b67e-f200e3607220/0_0.png">`)

Note: This wasn't required a few months back. The behavior of -webkit-app-region and how it deals with other mouse events changed this year

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@haydenbroadhead
Comment options

Answer selected by haydenbroadhead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants