Skip to content

Commit

Permalink
Fix primefaces#2957: Image preview do not hide buttons behind image
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jun 2, 2022
1 parent 853d4f2 commit 4987811
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/doc/image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ import { Image } from 'primereact/image';
<td><i>space</i></td>
<td>Activates the button.</td>
</tr>
<tr>
<td><i>esc</i></td>
<td>Closes the image preview.</td>
</tr>
</tbody>
</table>
</div>
Expand Down
1 change: 1 addition & 0 deletions components/lib/image/Image.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
display: flex;
justify-content: center;
align-items: center;
z-index: 99999999;
}

.p-image-preview {
Expand Down

0 comments on commit 4987811

Please sign in to comment.