-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
HTMLElementView Transform Overwritten #79519
Comments
Thanks @felangel for the detailed report.
flutter doctor -v
Also, please note that, on desktop browsers, canvaskit is the default web renderer, so we don't need to explicitly specify the flag |
We should definitely fix this. As a temporary workaround you can wrap your HTML in another element so that Flutter puts its transform on it, and your transform is applied to its child. |
@yjbanov thanks I'll give it a try! Update: the suggestion to wrap the HTML element in another element worked 👍 |
@yjbanov do you maybe know what part of Flutter is applying this change? I'd like to fix or find workaround for that but can't find any starting point. |
This issue is not re-producible on the latest stable and master channel. Closing this issue as fixed. Code sample
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
flutter run -d chrome --web-renderer canvaskit
style.transform = 'rotateY(180deg)'
)style.transform = 'none'
)Expected results:
I would expect custom styles such as
transform
to remain applied.Actual results:
Custom transform is overwritten by Flutter.
Logs
The text was updated successfully, but these errors were encountered: