Skip to content

Commit

Permalink
Fix #2957: Image preview do not hide buttons behind image (#2958)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Jun 2, 2022
1 parent 853d4f2 commit b6a9ddb
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 b6a9ddb

Please sign in to comment.