0

So I really hate the way chrome extension development works so I decided to make a regular webapp and use an iframe in my extension. Everything works fine, except for the dimensions of the website and the scrolling on the extension/site.

When developing the site, I knew I was going to use an iframe so I used percentages when formatting the site, for the most part I used 100% on most divs and textboxes. Anyway, the problem I am facing is that the scroll is extremely wonky on the extension for instance this is a picture of my extension with 400px height:

400x400. Everything looks fine.

and here is my extension with 800px height:

400x800. Scroll appears.

Why is the scroll appearing if I am merely making the extension longer? It doesn't make sense to me.

Any idea why this is happening?

Jamie
  • 421
  • 4
  • 17
  • possible duplicate of [How Can I Expand The Popup Window of My Chrome Extension](http://stackoverflow.com/questions/8983165/how-can-i-expand-the-popup-window-of-my-chrome-extension) – Xan Mar 01 '15 at 00:27
  • _"So I really hate the way chrome extension development works"_ Maybe you're approaching it wrong. – Xan Mar 01 '15 at 00:29

1 Answers1

0

There is a limit on the size of the popup window. I don't know the exact dimensions though.

You cannot increase the size of the document past it, scroll will appear.

Xan
  • 74,770
  • 16
  • 179
  • 206