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

After close, gallery items lost the style #266

Closed
francisrod01 opened this issue Nov 26, 2018 · 2 comments
Closed

After close, gallery items lost the style #266

francisrod01 opened this issue Nov 26, 2018 · 2 comments

Comments

@francisrod01
Copy link

francisrod01 commented Nov 26, 2018

Server-side rendering problem about this example: Khan/aphrodite#350

Steps to reproduce the behavior:

AFTER close the Lightbox popup, the <a> links lost the style.

https://github.com/jossmac/react-images/blob/master/examples/src/components/Gallery.js#L64

Expected behavior:

image

Actual behavior:

image

Envs:

  • react: 16.6.3
  • react-images: 0.5.19
  • npm: 6.4.1
  • node: v8.11.2
@janklimo
Copy link

@francisrod01 I was seeing a similar problem. If it's not too complex, I'd recommend upgrading to react-images@next which doesn't have that issue.

@francisrod01
Copy link
Author

francisrod01 commented Nov 28, 2018

I see it. I solved it removing the CSS style from the link <a> component and use my own.
I'd like to see this full example improved later.

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