-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Remove the "transitionend" event listener from the default viewer (issue 17347) #17360
Conversation
…sue 17347) Given that this event listener is only used to trigger rendering after the sidebar has been opened/closed, we can utilize the existing one in the `PDFSidebar` class for this purpose instead. That one is registered on the sidebar DOM-element, and is needed to remove a CSS-class indicating that the sidebar is moving.
Note: Removing the "transitionend" event listener from |
…ode.js versions (PR 17202 follow-up) It seems this unit-test started failing in Node.js version 20.10 as well. We should probably try and understand why, but for now just disable it to get passing CI tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
/botio integrationtest |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/c8c01faa2bb0b24/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/670f3cec58e0162/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/670f3cec58e0162/output.txt Total script time: 5.44 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/c8c01faa2bb0b24/output.txt Total script time: 14.41 mins
|
Given that this event listener is only used to trigger rendering after the sidebar has been opened/closed, we can utilize the existing one in the
PDFSidebar
class for this purpose instead. That one is registered on the sidebar DOM-element, and is needed to remove a CSS-class indicating that the sidebar is moving.