React PDF viewer v2.8.0 Release Notes
-
🆕 New features
- 👍 Support RTL
import { TextDirection, Viewer } from '@react-pdf-viewer/core'; <Viewer theme={{ direction: TextDirection.RightToLeft, }} />;
- The
RenderViewer
type includes the theme context
🐛 Bug fixes
- The highlighting elements should be shown below the text, so users can still select the text
- 👻 There is an exception when opening a password protected document