Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Unexpected Actions Menu Behavior with Reboot on Mobile
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 9, 2016 - 2:04 pm

Hiya! I've been troubleshooting this frustrating issue for some time now, and am just stumped.

Reboot v.1.0.8
SimplePress v.5.6.4 (Build: 13880)

Clicking the Actions Menu on a mobile device jumps the view to the top of the page. Scrolling all the way down the page reveals that the pop-up with the options has loaded down in the footer.

If the Actions button is supposed to pop-up the options, I would expect it should do so within the user's view—not jump the view to the top, and load the options at the bottom.

Screenshots from iPhone are attached, the issue occurs in Safari and Chrome. Using Chrome, Safari, and Firefox dev tools to emulate the user agent allowed me to replicate the issue on desktop browsers, but no errors hint at the cause.

FYI: I have ruled out any SP or WP plugin conflict.

I found what I think is the code for the Actions button (below), but I'm not sure where to go from here. I've opened up our dev install at http://tripawds.net/forums for public viewing to help test, but the issue is really nagging me on our live site at http://tripawds.com/forums

Anyone care to try and replicate this for me? Any help identifying the cause and implementing a fix is greatly appreciated. Thanks!

spheadMobile.php:109-123
(I am using a Reboot Child theme, but have not edited this file.)

        sp_MobileMenuStart('tagClass=spButton spRight&tagId=spHeadActions', __sp('Actions'));

            sp_LogInOutButton('tagClass=spControl&mobileMenu=1', __sp('Log In'), __sp('Log Out'));
            sp_RegisterButton('tagClass=spControl&mobileMenu=1', __sp('Register'));
            sp_MarkForumRead('tagClass=spControl&mobileMenu=1', __sp('Mark forum read'), __sp('Mark all topics in this forum read'));
            sp_UnreadPostsInfo('tagClass=spControl&mobileMenu=1', __sp('Unread Posts (%COUNT% topics)'), '', __sp('Mark all topics as read'));
            if (function_exists('sp_PmInboxButton')) sp_PmInboxButton('tagClass=spControl&mobileMenu=1', __sp('Inbox:'), __sp('Go to PM inbox'));
            sp_MobileMenuSearch('', __sp('Search Forums'));
            sp_ProfileEditButton('tagClass=spControl&mobileMenu=1', __sp('Your Profile'));
            sp_MemberButton('tagClass=spControl&mobileMenu=1', __sp('Member List'));
            if (function_exists('sp_SubscriptionsReviewButton')) sp_SubscriptionsReviewButton('tagClass=spControl&mobileMenu=1', __sp('Unread Subscriptions (%COUNT% topics)'), __sp('Review subscribed topics'));
            if (function_exists('sp_WatchesReviewButton')) sp_WatchesReviewButton('tagClass=spControl&mobileMenu=1', __sp('Unread Watches (%COUNT% topics)'), __sp('Review watched topics'));
            if (function_exists('sp_RankInfo')) sp_RankInfo('tagClass=spControl&mobileMenu=1', 'Ranks Information', __sp('Display Forum Ranks Information'));

        sp_MobileMenuEnd('listTagId=spHeadActions&tagClass=spOptionsList spRight');

sp-actions.pngImage Enlargersp-options.pngImage Enlarger

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2016 - 2:17 pm

The page shouldnt scroll at all...  the slider (not technically a popup), slides up and is attached to the bottom...

And no, cannot replicate it...  does it do it here for you?

so need more information... what device?  what os?  and what browser?

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 9, 2016 - 2:41 pm

Mr Papa said no, cannot replicate it...

Sigh...

does it do it here for you?

Yes. Options slide in from bottom and stick there. See screenshot below using iPhone User Agent emulator in Firefox is attached. I also created this screencast of the issue in action.

... what device? what os? and what browser?

iPhone 6s (And Desktop US emulators) iOS 9.3.1 Safari & Chome on iPhone Safari, Chome & Firefox on desktop with UA emulation

Screen-shot-2016-04-09-at-1.27.21-PM.pngImage Enlarger

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2016 - 6:39 pm

cant seem to watch the video... unsupported encoding...

but are you saying it works properly here for you?  I think you are...

my guess after a quick look at your site is that its related to all the content you have located above the forum... but just a guess...

the action for the actions button seems to be fixed at # which normally wont cause the big jump you are seeing...  changing it to #spMainContainer instead seems to make it work....  but more testing needed...  might be better to use some jquery/js and stop the action all together...

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 9, 2016 - 7:58 pm

Mr Papa said
... are you saying it works properly here for you?  

No, I'm saying I get the exact same behavior here.

This video works for me:

https://www.dropbox.com/s/xcy0.....p.mp4?dl=0

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 9, 2016 - 8:00 pm

Mr Papa said
actions button seems to be fixed at # which normally wont cause the big jump you are seeing...  changing it to #spMainContainer instead seems to make it work....

I could do that, but what about the options at the bottom, instead of in view?

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2016 - 9:46 pm

you missed the point... it shouldnt jump, so the actions would be at the bottom...

I could replicate on your site, but not here (our site works fine)...  with my iphone 6...   could replicate on my test site by adding content above the forum like your site...

the temp fix I posted fixes your site and my test site...  but release next week should have a permanent fix in it for you...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2016 - 9:50 pm

btw... your video in post #5 is exactly how its supposed to work... the slider should open at the bottom like that... that is the design and implementation...   guess I dont understant the issue?  on  your site, it jumps to top of page, so the slider is no longer seen...

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 10, 2016 - 12:05 pm

Mr Papa said
...release next week should have a permanent fix in it for you...

Excellent! Thanks so much.

the temp fix I posted fixes your site and my test site…

action for the actions button seems to be fixed at # which normally wont cause the big jump you are seeing…  changing it to #spMainContainer instead seems to make it work…

I guess I just don't know what line of code in which file to edit for this.

Thanks again!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 10, 2016 - 2:21 pm

Tuesday looks like planned release day...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17357
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10123
Posts: 79616