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

Not able to see the images when "Viewer" is placed inside a modal #52

Closed
vaibhav-kona opened this issue Apr 1, 2019 · 3 comments
Closed

Comments

@vaibhav-kona
Copy link

I placed the Viewer with inline container in a modal. Only seeing the small image previews and close button. When trying the Viewer in modal view, the images are getting displayed behind main modal. What can I do to fix this? I want to use inline view

Thanks

@infeng
Copy link
Owner

infeng commented Apr 2, 2019

Can you provide a reproduction by codesandbox.

@vaibhav-kona
Copy link
Author

vaibhav-kona commented Apr 3, 2019

It seems to be working in code sandbox https://codesandbox.io/s/7y44k6llo1

Will check my actual code again

@vaibhav-kona
Copy link
Author

vaibhav-kona commented Apr 3, 2019

I did not give defined height and width to the "container" given to the viewer. So the canvas was taking no form, thus not able to see any actual image while toolbar and close button are still visible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants