Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On first browser window resize, collapsible titlepane panel button doesn't move #798

Open
1 of 5 tasks
kjohnsonGIS opened this issue Dec 15, 2017 · 2 comments
Open
1 of 5 tasks

Comments

@kjohnsonGIS
Copy link

kjohnsonGIS commented Dec 15, 2017

How often can you reproduce it?

  • Always
  • Sometimes
  • Rarely
  • Unable
  • I didn’t try

Description:

On first browser window resize
browserwindowresize
the collapsible titlepane panel collapses but its button stays in the same place if the resized window is less than 768px.
initialresizewindow1
If you load the CMV in an already resized window, then maximize the window, the button stays in the same place.
initialresizewindow2

Steps to reproduce:

  1. Start with your browser window fully maximized.
  2. Open CMV in this window
  3. Click the window resize button

Or alternatively,

  1. Start with your browser window resized to a smaller view
  2. Open CMV in this window
  3. Click the window maximize button

Expected results:
The titlepane panel button collapses/expands with rest of the panel.

Actual results:
the side panel collapses or expands but the button stays in its original place.

It doesn't do this if you click the collapse button before you resize the window.

Environment:

Software Version
CMV Version CMV 2 Beta 2
Browser Chrome and IE 11
Operating system Windows 7
@tmcgee
Copy link
Member

tmcgee commented Dec 16, 2017

@kjohnsonGIS It appears to me that this doesn't occur Always. Based on my past experience and brief testing today, this only occurs when the window is narrow (less than 768 pixels). The browser is responding to this css media query which is intended for small devices (phones). I would consider this an edge case since that width isn't very usable on a desktop though perhaps it occurs more often than I realize.

@kjohnsonGIS
Copy link
Author

@tmcgee , ok thanks. I edited my original comment, changed how often to sometimes since it only happens when the resized window is less than 768px. Yeah true probably on the desktop that would be pretty rare to have the window resized that size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants