-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Bug]: shadow appears on the upper side, and the underline displays on the backside of a Textbox when objectcaching is false #9866
Comments
@niketaOptimumnbrew when drawing without caching the drawing operations are one by one, and the shadow is applied each time. You need caching ( isolation ) enabled if you want shadow to appear correctly. |
with enable caching object not update on each and every action. font also show blur with enable caching. @asturur is their any solution for disable caching? |
@niketaOptimumnbrew you are putting yourself in a series of issues because you don't use caching. |
I'm using textbox for text rendering. |
I havew no idea how you are creating that text and why in your opinion caching is at the heart of the issue. |
Let me explain to you about how i render text on canvas. Steps:
Example:
With this scenario , I'm getting issue with enable caching as you can see in above screenshot. @asturur Please help if I missing anything in it. |
What you show seems to be a text width + wrapping issue. I m not sure why object caching should play a role there |
@asturur Is it possible when I update object width with enable caching then object update but not the text? |
CheckList
Version
5.3.0
In What environments are you experiencing the problem?
Firefox, Chrome, Safari
Node Version (if applicable)
14.20.0
Link To Reproduction
https://jsfiddle.net/Niketa_patel/as5evzt2/58/
Steps To Reproduce
Expected Behavior
Actual Behavior
Error Message & Stack Trace
No response
The text was updated successfully, but these errors were encountered: