Scroll prevent when Modal is open

后端 未结 0 1000
隐瞒了意图╮
隐瞒了意图╮ 2021-02-03 20:16

I have a modal on my react app, but I\'m struggling to deactivate the overflow when the modal is active. I\'m using the following logic:

Component:

import          


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