Closed huytr1995 closed 1 year ago
When user is opening Thumbnail and clicks zoom its not showing the thumbnail with that zoom %. This PR addresses this.
It turns in React.useEffect of Thumbnail.tsx i should pass pageRenderStates as a dependency instead of pageNumber.
Thumbnail.tsx
Verify when ThumbnailList is opening and i click zoom in or out the Thumbnail will be generated again with no issue.
ThumbnailList
https://user-images.githubusercontent.com/84343285/194167017-485ba0a5-63fa-4ae7-a793-3a61b7497558.mov
https://user-images.githubusercontent.com/84343285/194167265-2e0562d5-936b-470a-9cff-9147d7bb4a05.mov
N/A
Description
When user is opening Thumbnail and clicks zoom its not showing the thumbnail with that zoom %. This PR addresses this.
Reviewer Instructions
It turns in React.useEffect of
Thumbnail.tsx
i should pass pageRenderStates as a dependency instead of pageNumber.Testing Plan
Verify when
ThumbnailList
is opening and i click zoom in or out the Thumbnail will be generated again with no issue.Output / Screenshots
Before
https://user-images.githubusercontent.com/84343285/194167017-485ba0a5-63fa-4ae7-a793-3a61b7497558.mov
After
https://user-images.githubusercontent.com/84343285/194167265-2e0562d5-936b-470a-9cff-9147d7bb4a05.mov
A11y
N/A