When opening the browser in WYSIWYG it has the correct size:

But when switching the tab the content is being cut off:

| Comment | File | Size | Author |
|---|---|---|---|
| #14 | media-browser-2.png | 10.09 KB | DruDoc |
| #3 | size-media-browser-dialog-1972628-3.patch | 10 KB | devin carlson |
| #2 | size-media-browser-dialog-1972628-2.patch | 9.03 KB | devin carlson |
| #1 | size-media-browser-dialog-1972628-1.patch | 9.16 KB | devin carlson |
| Screen Shot 2013-04-17 at 1.28.48 PM.png | 89.2 KB | luksak |
Comments
Comment #1
devin carlson commentedA patch to have the Media Browser dialog automatically size itself when loaded and resize itself when the window changes. It also keeps the browser centered when scrolling.
I think that this is about the best we can get unless the D8 dialog API is backported.
Comment #2
devin carlson commentedUpdated version of #1 with some minor cleanups.
Comment #3
devin carlson commentedMight as well increase the number of items displayed in the browser while we're at it.
Comment #4
devin carlson commentedTested #3 with a number of browsers and didn't find any issues.
Committed to Media 7.x-2.x.
Comment #5
gmclelland commentedGreat work @Devin Carlson! I just tested it on simplytest.me using https://drupal.org/project/media_dev and the media browser is much more usable now.
This will make many people very happy.
Comment #6
elijah lynnNot sure if this is this issue but I will leave this here for now. The overlay is glitching out on scrolling now. Here is a very short screencast of the issue.
https://drive.google.com/file/d/0B47tip0c_KEtM24zcUYyalRad2s/edit?usp=sh...
Comment #7
elijah lynngmclelland - Nice tip! I posted #6 after verifying with the method you mentioned that it was not just my local environment! Super easy!
Comment #8
elijah lynnOkay, confirmed, I checked out alpha3 and overlay was not fitted correctly but no issue then applied the latest patch (#3) and the overlay fits nicely but is glitching out now.
Comment #9
devin carlson commented@Elijah Lynn let's use #2125659: Overlay glitching out to address the issue you're experiencing.
Comment #10
elijah lynn@Devin Carlson - Sounds good, thanks!
Comment #12
DruDoc commented3: size-media-browser-dialog-1972628-3.patch queued for re-testing.
Comment #14
DruDoc commentedwith jquery 1.8,
Media popup window on clicking wysiwyg (with ckeditor 4.3 library) media browser button remains fixed at top left corner, doesn't resize nor resizeable, but scrollable.
Media 7.x-2.0-alpha3+46-dev
Any solution please?
(works fine with jquery 1.7)
Comment #15
DruDoc commentedsorry my bad.This is jquery related and duplicate
https://drupal.org/node/1957812
Comment #16
devin carlson commented