Skip to content

textLimit functionality in moreInfoRightPanel has stopped working #1464

Description

@demiankatz

UV version:

 universalviewer@4.2.0

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:
Starting with release 4.2.0, it appears that the textLimit functionality in moreInfoRightPanel has stopped working.

I have confirmed that this functionality does work in 4.1.0.

Expected behavior:
When text exceeds the configured textLimit, a more/less control should appear to allow collapsing of long content.

Steps to reproduce:
Look at nearly any example manifest -- in versions prior to 4.2.0 (e.g. at https://uv-v4.netlify.app) long text such as the "full conditions of use" on the default example get collapsed. In the current dev code, the collapse/expand controls are missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions