Export to GitHub

nyromodal - issue #29

page still scrollable with wheel


Posted on Jun 18, 2008 by Massive Elephant

What steps will reproduce the problem? 1. open modal 2. scroll wheel down 3.

What is the expected output? What do you see instead? disable scrolling

What version of the product are you using? On what operating system? tried on firefox 3 and ie7

Please provide any additional information below.

Comment #1

Posted on Jun 18, 2008 by Swift Panda

I fixed this issue on my current version. I'll wait to have more issues to release a new version.

Basically, in jquery.nyroModal-1.2.7.js remove the 2 lines: 531: "if ($(e.target).parents('#nyroModalContent').length == 1) {" 538: "}"

Can't remember what was the deal about that, but it looks it works great without this test. (tested in Firefox 3, IE7 and Safari 3; no need in IE6 as the global scrolling are hidden)

Comment #2

Posted on Jul 1, 2008 by Massive Elephant

updated to 1.28 issue still exists in FF3 and IE7

Comment #3

Posted on Jul 5, 2008 by Swift Panda

It's working for me. The mousescroll is only stopped when the scroll occurs over the nyroModal Window, not over the background. I thought it was a good idea to let the user scroll over the whole page if he want to.

Am I right or it's definitvely not working for you?

Comment #4

Posted on Jul 16, 2008 by Massive Elephant

not sure if im missing something here but with the newest release no matter where i have my mouse i can still use the wheel to scroll...

is there any easy way to remove scrolling all together?

my goal is to pretty much disable the main page and wait for nyro input before continue.

thanx!

Comment #5

Posted on Mar 27, 2013 by Grumpy Dog

hi, is there a way to disable scrolling in the background?

Status: Fixed

Labels:
Type-Defect Priority-Medium