Skip to content
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

Zoom causes nodes to blur when focus #249

Closed
alexisrolland opened this issue Jan 24, 2023 · 5 comments
Closed

Zoom causes nodes to blur when focus #249

alexisrolland opened this issue Jan 24, 2023 · 5 comments

Comments

@alexisrolland
Copy link

Hi there,
I think this issue is related to this other issue which is closed: #178
I am using version 1.9.3 and I somehow still have a blur issue.

I have a simple custom node with one text area option (note this text area is an Ant Design component). It looks good in general, but when zooming in/out and then clicking on the text area to type text (focus), the whole node gets blurred. When clicking outside the text area, then it gets back to normal. This does not happen if I don't zoom in/out.

@alexisrolland alexisrolland changed the title Zoom causes nodes to Blur when focus Zoom causes nodes to blur when focus Jan 24, 2023
@CTB-Software
Copy link

CTB-Software commented Jan 26, 2023

here a screenshot of the problem | i am using 2.0.2-beta.3
image

@CTB-Software
Copy link

CTB-Software commented Jan 26, 2023

the problem is being caused by the box-shadow CSS property. change the box-shadow to border
image
image

@alexisrolland
Copy link
Author

Thank you. Your comment put me on the right track. I did not change the box shadow but removing the filter CSS property did the trick for me.

.node {
  filter: none !important; /* This removes the bug where nodes get blurred */
}

@KaKi87
Copy link

KaKi87 commented Mar 4, 2023

I can also reproduce this issue on v2 and workaround it the same way :

.baklava-node {
    filter: none !important;
}

But please reopen this issue so that the maintainer fixes it properly at some point.
Thanks

@newcat newcat reopened this Apr 22, 2023
yuyuko233 added a commit to yuyuko233/baklavajs that referenced this issue Jun 29, 2023
newcat added a commit that referenced this issue Jul 9, 2023
@newcat
Copy link
Owner

newcat commented Jul 24, 2023

Fixed in v2.0.2-beta.5

@newcat newcat closed this as completed Jul 24, 2023
@newcat newcat added this to V2 Apr 9, 2024
@newcat newcat moved this to Done in V2 Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants