Babak
Babak

Reputation: 7

iOS Safari ignores overflow hidden code in javascript

I think this is where problem is

  document.getElementsByClassName("content-area").style.postion = "relative";
  document.getElementsByClassName("content-area").style.overflow-y = "hidden";

Upvotes: 0

Views: 55

Answers (1)

dagalti
dagalti

Reputation: 1956

You cant use style.overflow-y .. below code will work. More info

document.getElementsByClassName("content-area").style.overflowY = "hidden";

Upvotes: 1

Related Questions