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