You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the component in @react-pdf/renderer does not allow full customization of the :hover state. When using , a default yellow background appears on hover, likely due to underlying pdf.js behavior. Attempts to override this with StyleSheet.create do not work.
Expected Behavior
Users should be able to fully control the hover styles (e.g., background color, border, shadow) via the style prop in @react-pdf/renderer.
Current Behavior
The component applies a default yellow background on hover, even when custom styles are provided.
The issue persists even when using inline styles, StyleSheet.create, or global CSS overrides.
Steps to Reproduce
Create a inside a in @react-pdf/renderer.
Apply custom styles to remove the hover background color.
Open the PDF preview and hover over the link—yellow flickering still occurs.
The text was updated successfully, but these errors were encountered:
Currently, the component in @react-pdf/renderer does not allow full customization of the :hover state. When using , a default yellow background appears on hover, likely due to underlying pdf.js behavior. Attempts to override this with StyleSheet.create do not work.
Expected Behavior
Users should be able to fully control the hover styles (e.g., background color, border, shadow) via the style prop in @react-pdf/renderer.
Current Behavior
The component applies a default yellow background on hover, even when custom styles are provided.
The issue persists even when using inline styles, StyleSheet.create, or global CSS overrides.
Steps to Reproduce
Create a inside a in @react-pdf/renderer.
Apply custom styles to remove the hover background color.
Open the PDF preview and hover over the link—yellow flickering still occurs.
The text was updated successfully, but these errors were encountered: