Why click the button, it do not response?
my demo code:
https://codesandbox.io/s/gallant-knuth-kwf55c
I check my code, do not find the issue, please help with this.
Why click the button, it do not response?
my demo code:
https://codesandbox.io/s/gallant-knuth-kwf55c
I check my code, do not find the issue, please help with this.
3
Answers
example
add it’s like a function
The reason for that,
as All elements are set using
position:absolute
content div is overlapping with header.Which results in hiding header for interaction. So when we are clicking click is actually being fired on content, not button (See below).
There are couple things we can do,
try to comment out
id="content"
div andid="footer"
div.because they are over-laping on the button that’s why button is not clickable.