Skip to content

Commit 3abdb8c

Browse files
authored
Fix handling EPUB noteref with nested elements (#503)
1 parent 30727af commit 3abdb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readium/navigator/src/main/java/org/readium/r2/navigator/R2BasicWebView.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ internal open class R2BasicWebView(context: Context, attrs: AttributeSet) : WebV
287287
// We ignore taps on interactive element, unless it's an element we handle ourselves such as
288288
// pop-up footnotes.
289289
if (event.interactiveElement != null) {
290-
return handleFootnote(event.targetElement)
290+
return handleFootnote(event.interactiveElement)
291291
}
292292

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

0 commit comments

Comments
 (0)