5 Replies - 302 Views - Last Post: 12 July 2018 - 06:05 AM

#1 JavaThoughts   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 16
  • Joined: 10-April 18

Page darkens and can't be scrolled up or down after closing modal

Posted 11 July 2018 - 07:55 PM

Greetings,

I have two modal boxes coming out at the same time when I click a button. Also when I click outside of the two modal boxes, they will close at the same time. But the problem happens after closing the 2 modal boxes. The page darkens and I can't scroll the page! I can only click on other buttons.

Please help.

Thanks in advance!
Is This A Good Question/Topic? 0
  • +

Replies To: Page darkens and can't be scrolled up or down after closing modal

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14175
  • View blog
  • Posts: 56,782
  • Joined: 12-June 08

Re: Page darkens and can't be scrolled up or down after closing modal

Posted 11 July 2018 - 08:13 PM

Check the console (f12) and see about what the javascript is doing weird. Seems it is misappropriating some CSS.
Was This Post Helpful? 0
  • +
  • -

#3 JavaThoughts   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 16
  • Joined: 10-April 18

Re: Page darkens and can't be scrolled up or down after closing modal

Posted 11 July 2018 - 08:41 PM

Err...what console? I'm using dreamweaver and after searching around I got 'Right click on it with Finder/Explorer, and choose to open it with DW'. Still not sure about it...

But after adding this code
data-backdrop="false"
to the link that opens the two modal boxes. The page no longer darkens but still unable to scroll. I'm guessing I need some kind of code to enable scrolling?
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14175
  • View blog
  • Posts: 56,782
  • Joined: 12-June 08

Re: Page darkens and can't be scrolled up or down after closing modal

Posted 11 July 2018 - 10:01 PM

Web browser console.
Was This Post Helpful? 0
  • +
  • -

#5 JavaThoughts   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 16
  • Joined: 10-April 18

Re: Page darkens and can't be scrolled up or down after closing modal

Posted 11 July 2018 - 10:33 PM

i only saw developer tool. Gonna have to figure out how that works...
Was This Post Helpful? 0
  • +
  • -

#6 astonecipher   User is offline

  • Senior Systems Engineer
  • member icon

Reputation: 2559
  • View blog
  • Posts: 10,277
  • Joined: 03-December 12

Re: Page darkens and can't be scrolled up or down after closing modal

Posted 12 July 2018 - 06:05 AM

https://developers.g...campaign=2018Q2
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1