Opened 6 years ago
Closed 6 years ago
#7928 closed defect (bug) (fixed)
Wrong offset for @mentions container for devices <= 400px
Reported by: | BackpackersUnion | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.0.0 |
Component: | Activity | Keywords: | has-patch |
Cc: |
Description
When using @Username (i.e. Mentions) on a mobile device (or emulator), it appears a recent BP update (BP 2.9 -> 3.1) added some CSS/JS code that moved the mentions list off screen and out of view of the user.
To reproduce, use a mobile device or mobile emulator and try @mentioning a friend in the "What's New" text box or in a Comment. You should see the opaque background of the Mentions area (.atwho-view) but no friends or users listed.
The problem seems to be caused by CSS/JS that is effecting .atwho-view. Before the update the selector was getting the style "top: 107px;" applied, after the update the same style is "top: -5026px;".
WordPress 4.9.7
BuddyPress: Problem happening on 3.1.0 (did not occur with v2.9)
Theme: 2014
Attachments (1)
Change History (7)
#1
@
6 years ago
- Component changed from Core to Activity
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.2.0
- Version set to 3.0.0
#2
@
6 years ago
- Summary changed from Bug - Mentions (Updating from BP 2.9 -> 3.1) to Wrong offset for @mentions container for devices <= 400px
#3
@
6 years ago
- Milestone changed from 3.2.0 to 4.0
Moving to 4.0.0 because we could do with more testing of this patch and deciding if updating at.js is more appropriate.
Confirmed when emulating iPhone 6/7/8 in Chrome, basically any width <= 400px.
I have a tentative fix that removes the
height:100%
CSS rule, which fixes things somewhat.@BackpackersUnion - Can you test?