Skip to content

Commit

Permalink
Fix handling EPUB noteref with nested elements (readium#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu authored Apr 29, 2024
1 parent 30727af commit 3abdb8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ internal open class R2BasicWebView(context: Context, attrs: AttributeSet) : WebV
// We ignore taps on interactive element, unless it's an element we handle ourselves such as
// pop-up footnotes.
if (event.interactiveElement != null) {
return handleFootnote(event.targetElement)
return handleFootnote(event.interactiveElement)
}

return runBlocking(uiScope.coroutineContext) { listener?.onTap(event.point) ?: false }
Expand Down

0 comments on commit 3abdb8c

Please sign in to comment.