nyroModal icon indicating copy to clipboard operation
nyroModal copied to clipboard

can i disable auto resize on ajax page?

Open choonoi opened this issue 15 years ago • 6 comments

can i? i would like to using it as show as a new page on modal only~

choonoi avatar Mar 15 '11 17:03 choonoi

Would you like a bigger modal or a smaller one?

nyroDev avatar Apr 14 '11 08:04 nyroDev

just look like photo viewer in facebook

choonoi avatar Apr 24 '11 15:04 choonoi

I'd be interested in this as well. Love NyroModal, but it would be nice to be able to present a page with just a single, outer scrollbar, and allow the modal to consume as much space as it needs to avoid an inner scrollbar. Like choonoi says, just like the FB photo viewer. We use the fit-within-viewport functionality elsewhere on our site, but this feature would be most appreciated.

dlinder avatar Aug 18 '11 17:08 dlinder

I would also use this. Have been trying to hack it and making it work but integrated feature flag would be great!

dsldsl avatar Jul 05 '12 05:07 dsldsl

The photo viewer in facebook looks more like an HTML page than an image itself to me, to add the comments on the right. To do so with nyroModal, I would recomand using ajax features with HTML loading.

I'm not sure to understand exactly what you mean when you're talking about that. Could somebody be more explicit with a screenshot or something?

nyroDev avatar Oct 21 '12 15:10 nyroDev

The overall idea is that having a scrollback in a modal and then a scrollbar in the outside window is bad UX, so we want a modal to be taller than the current browser and full height just hidden below the fold and the modal not to have a scroll bar in it -- only to have a scroll bar in the outside browser window and you scroll the outside window to see the bottom of the modal, not the modal. Kind-of diagram here:

mockup

In that diagram, below the fold would not be visible until you scroll down in the window.

dsldsl avatar Mar 02 '13 00:03 dsldsl