-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
inconsistent dialog width #60
Comments
It happens because the first time the history API is not loaded yet. On Mon, May 16, 2016 at 9:34 AM, Roi Dayan notifications@github.com wrote:
PaulusSchoutsen.nl |
But it continue to happen again without refreshing the page. Just closing and reopening the dialog. |
I still see this in the latest code in dev. Opening and closing the same popup a few times in a row can give a different sized popup. I didn't resize or move my browser window. |
@roidayan Are you still experiencing this issue? |
This is still occurring on 0.29.5. |
@roidayan @michaelarnauts I'm only seeing this issue in modals that have state-history-chart-line. Are you seeing it anywhere else? |
I currently have an issue that I see the loading circle all the time and get an error that the sqlite db is busy. so I can't see any state history for any sensor. I'll try to check why and see if I get it in other state history charts. |
I also notice this in state-history-chart-timeline |
@roidayan @michaelarnauts Please help me test this because it is an intermittent issue. |
What browsers are you experiencing this issue on? |
I always use Chrome, and it also occurs on the mobile version (Android). Op zo 9 okt. 2016 15:21 schreef Justin Weberg notifications@github.com:
|
I also use chrome. Tested desktop and mobile on Android. I run 0.29.7. On Sun, Oct 9, 2016, 17:10 Michaël Arnauts notifications@github.com wrote:
|
It is happening on mobile too? |
Yes On Sun, Oct 9, 2016, 20:26 Justin Weberg notifications@github.com wrote:
|
Indeed, but there, the effect is different. The dialog always opens full Op zo 9 okt. 2016 19:27 schreef Roi Dayan notifications@github.com:
|
Check out the PR for a fix for the desktop. I'll have to look more into mobile. |
In mobile the dialog has css width 100% I think so it always fits the On Sun, Oct 9, 2016, 23:05 Justin Weberg notifications@github.com wrote:
|
I'm not worried about mobile just yet. I will fix it but first I want to make sure the desktop version is fixed before I move on. I am not having any issues with inconsistency. |
Also set max-width on history-charts to fix mobile issue #120 |
Are you able to test the PR? I believe both issues are now fixed. On Mon, Oct 10, 2016, 7:26 AM Michaël Arnauts notifications@github.com
|
Fixed #120 |
@justweb1 could you re-open this issue? |
@michaelarnauts what browsers do you see the issue in? |
Chrome (54) and Firefox (50). The dialog width itself seems to be the same (365px), but the svg sometimes renders at 400px wide. |
Part of the problem is that component uses external scripts and at some point should be rewritten completely using the available Web component. |
Version
0.30.0-dev
this happens with any dialog. for example i chose humidity. opening and closing the dialog gives different width each time. to be more precise it can be one of 2, narrow or wider. so each time it's one of the two.
wider
![screenshot_4](https://cloud.githubusercontent.com/assets/660126/15296176/c6b82822-1b9c-11e6-8b13-ffe42cd3d2ee.png)
narrow
![screenshot_5](https://cloud.githubusercontent.com/assets/660126/15296178/c8643cec-1b9c-11e6-955d-6d5b901a725f.png)
The text was updated successfully, but these errors were encountered: