diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
14.81k stars 1.17k forks source link

Hover effects! #448

Open DuncanMacWeb opened 5 years ago

DuncanMacWeb commented 5 years ago

Is your feature request related to a problem? Please describe. We need links to change colour and underline on hover.

Describe the solution you'd like Providing support for :hover, :focus and :active pseudo-classes by using PDF “actions for special effects” (Adobe SDK); other tutorials etc:

I’m not sure how best to implement this in code, but it’s clear that it’s technically possible. Any pointers are welcome!

diegomura commented 5 years ago

Cool! I didn't know that this can be done. This will require changes in the pdfkit layer, and a low-level research about how something like this can be done PDF-wise

diegomura commented 2 years ago

I'll need to research about 8.4.4 Appearance Streams in PDF Spec