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

Searching for element freezes entire web page [Pixi v4.8.7] #129

Open
RachelW-Mahi opened this issue Apr 26, 2024 · 5 comments
Open

Searching for element freezes entire web page [Pixi v4.8.7] #129

RachelW-Mahi opened this issue Apr 26, 2024 · 5 comments

Comments

@RachelW-Mahi
Copy link

As the title suggests, attempting to search for a specific pixi element in the search bar causes the entire page to freeze up, which can only be rectified by closing the tab and reopening. As I have a heavy webpage with a lot of overlapping elements, it would be unreliable for me to right click the element to pull it up on the inspector, and it would be very inefficient to manually search through the container hierarchy to search for the element.

@bfanger
Copy link
Owner

bfanger commented Apr 26, 2024

This doesn't happen in the smaller projects i'm testing with, is your project available online?
( and has __PIXI_APP__ enabled )

@RachelW-Mahi
Copy link
Author

RachelW-Mahi commented Apr 26, 2024

Thank you for the quick response! It is not a project I can share publicly, but it may have to do with the fact that the project uses PIXI version 4.8.7. Could using an outdated PIXI version cause incompatibilities with the extension?

@bfanger
Copy link
Owner

bfanger commented Apr 26, 2024

That is possible, we don't have a testsuite that tests different Pixi versions. that is something on my wishlist.

@RachelW-Mahi RachelW-Mahi changed the title Searching for element freezes entire web page Searching for element freezes entire web page [Pixi v4.8.7] Apr 26, 2024
@RachelW-Mahi
Copy link
Author

RachelW-Mahi commented Apr 26, 2024

Understandable, appreciate the heads up. I've updated the ticket to include the pixi version this issue is occurring in. For additional context when a test suite for multiple Pixi versions comes to fruition, a workaround we found for the time being is to search for the element, and the element would appear in the hierarchy, but the page freezes. We click on the element to highlight it on the page, and then we clear the search box and wait for the page to unfreeze. From there, we select the item again and we can work with the Pixi inspector as we normally would.

EDIT: For more additional context, this became a problem in the most recent version of the extension that was updated on April 19th, 2024. Prior to that update, we were not experiencing any freezing.

@DimaNazdratenko
Copy link

I have the same freezes problem with my project too. When I try to find element.
Pixi version 6.2.1

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

No branches or pull requests

3 participants