Skip to content

[Bug] SelectableNavigator - shouldShowMenuForSelection is not disabling "Copy Link with Highlight" and "Writing Tools" #509

Closed
@ThugMike

Description

@ThugMike

Describe the bug

Hey just want to first say I really appreciate Readium and all the support you provide for it!

In iOS 18.2, highlighting a section in the book still shows the "Copy Link with Highlight" and "Writing Tools" even when shouldShowMenuForSelection is set to false:

func navigator(_ navigator: SelectableNavigator, shouldShowMenuForSelection selection: Selection) -> Bool {
    return false
}

IMG_0114

Any help would be greatly appreciated.

How to reproduce?

  1. Open book
  2. Highlight selection

Readium version

3.0.0-beta.1

OS version

18.2

Testing device

iPad Pro (M1)

Environment

macOS: 14.5
platform: arm64
carthage: N/A
Xcode 16.1
Build version 16B40

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions