-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Popup] Review Edge Detection #2526
Comments
Please fork the jsfiddle in readme to create a test case. |
tazator : http://codepen.io/Biggrecian/pen/vOdwLd is this what you are experiencing in a menu? Number 1 works but numbers 2 and 3 don't ? If so try the code : |
jlukic : I'm sorry, here is http://jsfiddle.net/Le9ys6zk/7/ I have a same problem on http://semantic-ui.com/modules/popup.html BigGrecian : On my Google Chrome (v 43.0.2357.130) numbers 1, 2 and 3 doesn't work
|
Completely the same problem as @tazator mentioned. (Chrome 43.0.2357.132, win 8 64bit) |
Additional test case from other threads |
It appears with elements that are "just next to" the edge of the page it returns an offset slightly below 0, due to rounding issues. I've added a new setting |
With regards to this example, The first button is not showing because the popup is set to 100% page width but is pointing to an element in the middle of the page. This would mean most of the popup would have to display off screen. |
… offsetContext (i.e. thing with position: relative)
@ksr583 I've figured out what's going on for your issue. Popups can't use However in your example, although the element is inside a container its The solution is in the case of |
@ksr583 Working example JSfiddle from |
Let me know if anyone experiences any issues testing against |
I'm so sorry but the issues is again with chrome (Version 43.0.2357.134 m) on windows 8.1 64bits. The issues is just with cursor mouse. But with tactile function no problem, it's ok. With chrome (Version 43.0.2357.134 m) on windows 7 64bits no problem, it's ok. |
Test case please |
http://jsfiddle.net/626b86v9/5/ With chrome (Version 44.0.2403.89 m) |
I'm not able to replicate on win7 (which you says works) Are you using a tablet computer? Something with both touch and mouse? |
Yes my computer has a touchscreen (it's laptop) |
Yeah, I've dealt with this issue.. years ago. #61
It's a pretty frustrating bug to deal with but I'll see what I can do |
But with semantic-ui 1.x on same computer, the hover event of mouse work (if that help) |
Yes it does help. I can see the difference https://github.com/Semantic-Org/Semantic-UI/blob/master/src/definitions/modules/popup.js#L887 this probably should be |
Please continue discussion in #2715 |
Hi everyone!
I have a problems with popup on Chrome 43.0.2357.130.
The popup with click event, it's ok.
But with hover event (by default), the popup don't show.
Example of code
I have the same problem with my website or with semantic-ui website
On Firefox no problems (click and hover)
The text was updated successfully, but these errors were encountered: