Skip to content

Unable to close preview screen. Localization not getting applied properly #2

@SharadaRammlti

Description

@SharadaRammlti

When i open the page preview window i m not able to close it. And there is also no option to hide the same. The localization is also not getting applied properly even when i pass the localization key the aria label are still in hindi.

Code usage:
export const PDF_CONTROLS = {
controlSections: {
navigation: false,
zoom: false,
fullscreen: false,
download: false,
info: false,
sidebarButton: false,
rotation: false,
print: false,
search: false,
bookmarks: false,
annotations: false,
localization: false,
},
localization: [{ locale: 'en', title: 'English', active: true }],
};

<AdexViewer
data={{ url: src }}
credits={false}
showToolbar={false}
showSidebar={false}
showControls={PDF_CONTROLS.controlSections}
localization={PDF_CONTROLS.localization}
/>

Please provide a suitable solution for these above problems

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions