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

Image Toolbar hidden behind large image in preview mode #11561

Closed
vinnyab28 opened this issue May 27, 2022 · 0 comments
Closed

Image Toolbar hidden behind large image in preview mode #11561

vinnyab28 opened this issue May 27, 2022 · 0 comments
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@vinnyab28
Copy link
Contributor

I'm submitting a ...

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
When an image is opened in a preview mode, the toolbar to zoom, rotate and close is hidden behind the image if the image is large.

Expected behavior
Toolbar needs to be top of the image to access the buttons.

Minimal reproduction of the problem with instructions

  1. Use PrimeNG image component to display the image with preview option enabled.
  2. Open the image in preview mode.
  3. Zoom in the image (If large image, this step can be ignored).
  4. Unable to access the toolbar.

What is the motivation / use case for changing the behavior?
To be enable to zoom in/out any image.

Please tell us about your environment:
Package Manager: npm 8.11.0
OS: darwin x64

  • Angular version: 13.2.6
  • PrimeNG version: 13.4.1
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

  • Language: TypeScript 4.4.3

  • Node (for AoT issues): node --version = 16.15.0

vinnyab28 added a commit to vinnyab28/primeng that referenced this issue May 27, 2022
@cetincakiroglu cetincakiroglu added the Status: Pending Review Issue or pull request is being reviewed by Core Team label May 30, 2022
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Jun 6, 2022
@cetincakiroglu cetincakiroglu self-assigned this Jun 6, 2022
@cetincakiroglu cetincakiroglu added this to the 13.4.2 milestone Jun 6, 2022
cetincakiroglu added a commit that referenced this issue Jun 7, 2022
cetincakiroglu added a commit that referenced this issue Jun 7, 2022
…eview-toolbar-fix

Revert "Issue: #11561 - Image Preview Toolbar fix"
@cetincakiroglu cetincakiroglu removed their assignment Jun 7, 2022
mertsincan added a commit that referenced this issue Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants