react - useState for changing opacity with transition effect works quirky?

前端 未结 0 371
南旧
南旧 2021-01-31 19:40

I have some problems with my code atm..

  1. as the lightbox function gets called the opacity goes from 1 to 0, and then to 1 / where as i would like it to go only fr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题