Skip to content

[dragging] Trim the css property value #1989

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

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

stffabi
Copy link
Collaborator

@stffabi stffabi commented Oct 18, 2022

Webview2 on Windows returns a potential whitespace when defining the style like this style="--wails-draggable: drag". Whereas Darwin already trims the value and returns "drag" and not " drag".

Webview2 on Windows returns a potential whitespace when defining the
style like this `style="--wails-draggable: drag"`. Whereas Darwin already
trims the value and returns "drag" and not " drag".
@stffabi stffabi requested a review from leaanthony October 18, 2022 08:10
Copy link
Member

@leaanthony leaanthony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch 👏

@stffabi
Copy link
Collaborator Author

stffabi commented Oct 18, 2022

Thanks for approving.

@stffabi stffabi merged commit 39addf2 into wailsapp:master Oct 18, 2022
@stffabi stffabi deleted the bugfix/css-draggable-trim branch October 18, 2022 08:29
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

Successfully merging this pull request may close these issues.

2 participants