No scrollbar in filtered event
-
EventON Lite – Mobile view (Android Chrome)
When first opening my calendar and scrolling to events manually, I can scroll horizontally in the event.
But when I search or filter and look at that same event, no scrolling is allowed and I cannot see all the information.
Can you make the list of filtered/searched events also scrollable? Thanks.
looked for event manually searched for event, cannot see rest of the info
-
Hello,
Can you please send us a direct link to where the actual issue is happening?
And also send us the shortcode you are using.
The issue is related to Tablepress, I believe. EventON simply outputs the content inside of Event Details.
The only option that can be related to this is EventON > Select calendar event content filter type. Please try changing it.
Well, it can’t be a TablePress issue, because it works fine normally, but only after EventON Filtering/Searching, you present the content differently.
That setting didn’t change anything (I am confused what it actually does tbh)
The table is created by TablePress and it adds some of inline CSS styling dynamically. Please check these two screenshots:
As you can see the second one has inline styling that allows the table to be scrollable.
All my tables have scrolling enabled, if data is wider than the screen.
It’s EventON that’s disabling it in the searched/filtered events.
Exact same event, exact same table, but difference is how EventON presents the event
Image 1 – event in list, scrollable
https://imgur.com/1napnNoImage 2 – filtered event – not scrollable
https://imgur.com/rfuOt64(both screenshots https://imgur.com/a/JUsxP3m)
-
This reply was modified 5 months, 3 weeks ago by
crxed. Reason: extra link
Please try adding ux_val=”3a” to the shortcode to see if the issue will be fixed.
Tablepress table is a shortcode you add to Event Details? Could you send us a screenshot of Edit Event > Event Details?
ux_val=”3a” does not change the no scrollbar issue.
Tablepress table is a shortcode you add to Event Details?
No, not in Event details but just right below the title
Here is the screenshot
table shortcode is handled by Tablepress: https://tablepress.org/faq/documentation-shortcode-table/
EventON simply outputs what’s inside of Event Details (text, shortcodes and so on). But it’s up to third-party plugins to make sure that their shortcode will be used correctly not just on Posts and Pages, but also custom taxonomies such as EventON.
From my understanding Tablepress uses js script to set table’s size dynamically depending on it’s container which doesn’t support EventON.
Please contact the plugin developer about this issue.
I politely disagree because there is no visible difference how you show events in the list, yet while searching of filtering, you present the same view, yet do something different in the background code.
I am going to contact @ashanjay about this. Please allow some time for him to reply.
Hello there @crxed What is inside the event details (which is where the tablepress content is at) is simply printed on the page. No processing it done for that.
What I think happening is: after the filtering or searching, eventON load new event HTML into the page via ajax. After this happen he table shortcodes need to be reloaded to add necessary interactivity for tablepress content inside event details. — this is not done, therefore tablepress content appear without interactivity.
As you discovered the missing dt-scroll element from tablepress must be coming from processing the elements client side (after page load, probably done via javascirpt) — this need to run after each time events HTML is refreshed on the page.
Event Details are what is used from content right below event post title.
Does this make sense? π
Perhaps you can reach out to tablepress and find out if there is a script you can run after initial page load to convert tablepress content into full interactivity.
I’ve asked the TablePress dev here: https://wordpress.org/support/topic/horizontal-scroll-only-in-some-cases/
Hello,
Unfortunately, as you can read in their reply the only solution is to upgrade Tablepress, so you can use “a second implementation of Horizontal Scrolling”. Nothing can be done from our side to fix the issue, I am afraid.
-
This reply was modified 5 months, 3 weeks ago by
You must be logged in to reply to this topic.