pixi-inspector icon indicating copy to clipboard operation
pixi-inspector copied to clipboard

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

Open RachelW-Mahi opened this issue 9 months ago • 5 comments

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.

RachelW-Mahi avatar Apr 26 '24 17:04 RachelW-Mahi

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

bfanger avatar Apr 26 '24 18:04 bfanger

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?

RachelW-Mahi avatar Apr 26 '24 18:04 RachelW-Mahi

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

bfanger avatar Apr 26 '24 18:04 bfanger

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.

RachelW-Mahi avatar Apr 26 '24 18:04 RachelW-Mahi

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

DimaNazdratenko avatar Apr 26 '24 18:04 DimaNazdratenko