Skip to content

v0.5.0

Choose a tag to compare

@samuelbradshaw samuelbradshaw released this 24 Feb 07:21
· 53 commits to main since this release
  • Improved style of default custom selection handles (on non-touch devices).
  • Improved logic for drawing SVG highlights and custom selection handles in right-to-left text (such as Arabic).
  • Improved logic for getting a caret from coordinates, to reduce jitter while dragging custom selection handles.
  • Fixed an issue where highlights were sometimes drawn to the full width of the paragraph, instead of the width of the line of text.
  • Fixed an issue where dragging to resize a highlight didn’t behave as expected after right-clicking the selection handle.
  • Fixed errors when attempting to create or modify a highlight whose range includes non-annotatable content.
  • Fixed an issue where the last text node in a paragraph could sometimes be skipped when drawing highlights.
  • Fixed an issue where tap events on hyperlinks with child elements weren't always recognized.

Full Changelog: 0.4.0...0.5.0