Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF Viewer search bar is partially hidden on small screens #4968

Open
dimodi opened this issue Apr 2, 2024 · 0 comments
Open

PDF Viewer search bar is partially hidden on small screens #4968

dimodi opened this issue Apr 2, 2024 · 0 comments
Labels
a11y Issues related to accessibility Bug Something isn't working C:PdfViewer SEV:High

Comments

@dimodi
Copy link
Contributor

dimodi commented Apr 2, 2024

Describe the bug

The PDF Viewer search bar is not fully visible on small screens, especially if the PDF zoom is less than 100%.

Reported in ticket 1647069

Workaround:

    @media screen and (max-width:530px) {
        .k-pdf-viewer .k-search-panel {
            left: 0;
            transform: none;
            width: auto;
            flex-wrap: wrap;
            justify-content: space-around; /* or center */
        }
    }

To reproduce

  1. Open https://www.telerik.com/kendo-react-ui/components/pdfviewer/ or https://demos.telerik.com/blazor-ui/pdfviewer/overview
  2. Set the PDF zoom to 50%.
  3. Open the search popup.
  4. Reduce the browser viewport width.
  5. The search popup will be partially hidden on the left.

Expected behavior

The search bar should be fully visible and the items inside should wrap is necessary.

Screenshots

5919f7ea-a688-4fd2-8ab1-c424f872b735_telerikpdfviewermobile

Affected package (please remove the unneeded items)

  • theme-default
  • theme-bootstrap
  • theme-material

Affected suites (please remove the unneeded items)

  • Kendo UI for Angular
  • Kendo UI for React
  • Kendo UI for Vue
  • Telerik UI for Blazor

Affected browsers (please remove the unneeded items)

  • All
@dimodi dimodi added Bug Something isn't working SEV:High C:PdfViewer a11y Issues related to accessibility labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Issues related to accessibility Bug Something isn't working C:PdfViewer SEV:High
Projects
None yet
Development

No branches or pull requests

1 participant