[CLOSED] Panels breaking after collapse or resize.

Page 2 of 2 FirstFirst 12
  1. #11
    I managed to solve the issue.

    As I suspected, the reason was due to the fact that I was passing the panel ID to Google API, which I guess with ExtJs causes the issues I was having.

    To resolve this issue, I simply added "-innerCt" to the IDs referenced inside Views/Shared/_GoogleMap.cshtml like such:

    Line 100
    map = new google.maps.Map(document.getElementById("map_canvas-innerCt"), mapOptions);
    Line 106
    panorama = new google.maps.StreetViewPanorama(document.getElementById('map_streetview-innerCt'));
    I've updated the GitHub sample to the working version that I have in case you wish to view it.
    Last edited by ids; May 14, 2016 at 1:04 AM.
  2. #12
    Hello @ids! Glad you could solve your issue!

    In fact, it seems a little less often but I ended up being able to reproduce even with the titleCollapse suggestion. Sorry for that.

    Also, thanks for sharing the outcome, that's really appreciated!
    Fabrício Murta
    Developer & Support Expert
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 9
    Last Post: Dec 12, 2012, 5:04 AM
  2. Replies: 3
    Last Post: Aug 11, 2011, 11:07 AM
  3. Force Panels Render Again when Resize Parent
    By nanosassa in forum 1.x Help
    Replies: 2
    Last Post: Nov 20, 2009, 9:44 AM
  4. Sub Panels Sometimes Disappear on Collapse
    By mathec in forum 1.x Help
    Replies: 4
    Last Post: Jan 28, 2009, 5:17 PM
  5. [CLOSED] Collapse - Expand Panels?
    By MrMp3 in forum 1.x Help
    Replies: 12
    Last Post: Sep 15, 2008, 10:58 AM

Posting Permissions