Skip to content

minimiseButtons configuration option no longer works as intended #952

@nicolasfranck

Description

@nicolasfranck

UV version:

 universalviewer@4.0.25

I'm submitting a:

  • bug report => please fork one of these codesandbox examples with a repro of your issue and include a link to it below
  • feature request => please use the user stories repo
  • support request => Please do not submit support requests here, use stackoverflow

Current behavior:

When I use configuration option footerPanel.options.minimiseButtons to false,
the text is not appearing.

Expected behavior:

Button text should appear in the footer panel when footerPanel.options.minimiseButtons is set to false

Notes:

I see that the following HTML

<button class="download btn imageBtn" title="Download" id="download-btn">
            <i class="uv-icon uv-icon-download" aria-hidden="true"></i>
            <span class="sr-only">Download</span>
</button>

uses class sr-only. That is responsible for hiding that text block.

Apparently this is set always: https://github.com/UniversalViewer/universalviewer/blob/dev/src/content-handlers/iiif/modules/uv-shared-module/FooterPanel.ts#L96

Isn't class miniseButtons in footerPanel not responsible for hiding button texts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions