swift-toolkit icon indicating copy to clipboard operation
swift-toolkit copied to clipboard

Unable to add Annotation on image only content

Open rohitvishwakarma1819 opened this issue 2 years ago • 1 comments

Bug Report

I was trying to add annotations to image only means I selected only image no text and was unable to add annotation as locator was giving null

What happened?

Select any image by dragging (no text only image )try to add annotation to it. It will not work

Expected behavior

One should be able to add annotations to image only content

How to reproduce?

Environment

  • Readium version:

Development environment

  • Open epub having image in its content
  • Go to place where image is present
  • Select only image and no text
  • try to add annotation
  • you will not be able to add annotation
  • PFB scrrenshot for more understanding

Testing device

  • iOS version: any
  • Model (e.g. iPhone 11 Pro Max): any
  • Is it an emulator? Yes

Image 02-09-22 at 1 42 PM

rohitvishwakarma1819 avatar Sep 02 '22 08:09 rohitvishwakarma1819

This is not supported yet, but I agree it would be interesting to have.

mickael-menu avatar Sep 02 '22 15:09 mickael-menu