Skip to content

Disable native view recycling on iOS#57

Merged
douglasjunior merged 1 commit intodouglasjunior:mainfrom
marllonfrizzo:feat/disable-recycling-views
Aug 12, 2025
Merged

Disable native view recycling on iOS#57
douglasjunior merged 1 commit intodouglasjunior:mainfrom
marllonfrizzo:feat/disable-recycling-views

Conversation

@marllonfrizzo
Copy link
Copy Markdown
Contributor

This pull request disables the recycling of the native PDF view by overriding the shouldBeRecycled method to return NO. With this change, the native view will not be cached, ensuring that the PDF is reloaded every time the component is unmounted or any of its props change.

Before

Gravacao.de.Tela.2025-08-12.as.16.56.47.mov

After

Gravacao.de.Tela.2025-08-12.as.16.58.55.mov

@douglasjunior douglasjunior merged commit 75a2a99 into douglasjunior:main Aug 12, 2025
@marllonfrizzo marllonfrizzo deleted the feat/disable-recycling-views branch August 12, 2025 20:45
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

Successfully merging this pull request may close these issues.

2 participants