javascript - Why is position: relative breaking my html5 canvas? -


i'm trying insert html5 canvas animation existing site. it's got couple buttons changes happens in animation when click on it. animation works can't click on buttons.

i've narrowed down part of issue position: relative style on parent div canvas. when take out position:relative, can click on buttons. when put position:relative in, can't click on buttons.

i can't change existing styles site i'm hoping can override styles canvas make buttons work.

how fix this?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -