motobrain
Forum Replies Created
-
Forum: Plugins
In reply to: [MB Custom Taxonomy] Fatal Error with latest updateFatal error: Uncaught Error: Class ‘RWMB_Update_Option’ not found
Happening for me as well when updating MB Custom Taxonomy from 1.4.1 to 1.4.3
Awesome!!
Using “meta:_product_meta_id” as the column header worked perfectly.
@dcooney – resolved it. So we were both right and both wrong π
The header spscroll, which smooth scrolls some link clicks, was globally targeting any element with data-scroll… a shared attribute that your plugin also uses. I updated the specificity on this to target the header data-scroll elements only, and all is right in the universe.
Thanks for the quick response. Close this puppy up as resolved
@dcooney – if I switch scroll=”true” to scroll=”false” in the shortcode…the page scrolling doesn’t happen. The click event also does not happen, so the page does nothing, but when scroll is true, clicking scrolls it to the top.
…and clicking on other divs/areas of the page doesn’t return the behavior.
@dcooney it doesn’t seem odd to you that when you simply click the empty alm-listing.alm-ajax container it scrolls you to top of page?
I searched the code base, there is no click event or call to either of those hooks (or their parents) short of in a css file.
This is the rendered div on dom ready:
<div class=”alm-listing alm-ajax” data-repeater=”default” data-post-type=”news” data-sticky-posts=”” data-post-format=”” data-category=”” data-category-not-in=”” data-tag=”” data-tag-not-in=”” data-taxonomy=”” data-taxonomy-terms=”” data-taxonomy-operator=”” data-taxonomy-relation=”” data-meta-key=”” data-meta-value=”” data-meta-compare=”” data-meta-relation=”” data-meta-type=”” data-year=”” data-month=”” data-day=”” data-author=”” data-post-in=”” data-post-not-in=”” data-exclude=”” data-search=”” data-custom-args=”” data-post-status=”” data-order=”DESC” data-orderby=”date” data-offset=”8″ data-posts-per-page=”6″ data-lang=”” data-scroll=”false” data-pause=”true” data-button-label=”Load More” data-destroy-after=”” data-transition=”fade” data-images-loaded=”false”>
type anything here try to click it.
</div>@dcooney – There are scroll-listeners for fade in animations. Not sure what your scroll issue is.
Anyhow, see my comment above, even before the ajax call, anything in the alm-listing container is not clickable. Just fires up to top of page. So it’s not ajax related.
@dcooney — On INITIAL page load. If you use inspector to find the empty ajax container that the plugin loads more content into (alm-listing.alm-ajax), and you add a link to that section (in my case, added a test link to google.com) , and then you try to click that link, it just scrolls to page top. The issue is any element within the alm-listing container. Any ideas?
@dcooney also, anchor links don’t need a click event added to them after being added with ajax.
I am the developer, and there is no scroll hijacking being used on this page, short of a back-to-top hash link.
Sure! https://buckinstitute.org/in-the-news
- This reply was modified 7 years, 8 months ago by motobrain.