• Resolved Vitalii

    (@wwvitalik)


    Hello!

    3 suggestions:
    1. Keep the search field in focus after we press “Enter”. It’s very annoying to manually make it focusable every time I search for a new string.

    2. Allow to place/add by default the “reset filters” link. Without it, we can’t go back to the initial results quickly.

    3. Fix the issue when sorting only partially work if “AJAX for filters” is enabled AND when an archive page with items has “Load More” pagination (also AJAX). I have tested with the Blocksy theme (Free version).
    To replicate:
    1). Navigate to archive page for custom post type (you need to create it with ACF plugin or other plugin along with custom taxonomies);
    2). Create 6 items in the custom post type. Set Blocksy theme to display 4 items on archive, enable pagination via “Load More” (these settings you can find in the Customizer);

    3) Place filters and sort widgets from the Filter Everything plugin in the Blocksy Sidebar;

    4). Test 1. Navigate to the archive for the custom post type, click “Load More”, apply a Sort.

    The result:
    it only sees and sorts the number of items on the archive that we set to display initially (4 items), the other items that appear after pressing “Load More” button, it doesn’t see.

    Test 2. Navigate to the archive for the custom post type, apply a Sort, click “Load More”.

    The result:
    After pressing “Load More”, it display the same items that we have at the beginning of the archive page (duplication).

    If I disable “AJAX for filters“, no issues, it sorts and displays properly, even when I press “Load More”.

    Is it something that can be fixed on your end only without involving the developers of the Blocksy theme? I think at least you should take a look and test, it looks like no matter the theme, the 2nd AJAX that is used in a “Load More” causes issues with your AJAX.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @wwvitalik

    1) This matches how most sites work, including Google and YouTube, where the search box does not trap you. Forcing focus on the input is called focus hijacking and can break accessibility, disrupt tab navigation, and override shortcuts like the spacebar for scrolling. On mobile, it can trigger the keyboard at the wrong time and block the results you want to see. The standard approach lets users switch smoothly from searching to browsing without the interface taking control of the focus.

    2) For resetting filters, you can use the chips widget: https://filtereverything.pro/resources/chips-widget/

    3) For AJAX troubleshooting, please check this page: https://filtereverything.pro/resources/ajax-instructions-only/#ajax_troubleshooting

    This issue is not limited to our plugin, it is a global behavior. You can create any custom AJAX update functionality on the page and test how the “Load More” button behaves after your custom AJAX updates the page and elements of that page including the load more button.

    The AJAX that implemented in the theme works within its own ecosystem. This does not mean it will work with other AJAX updates that are not from the theme. Any third-party plugins, custom functionality, and so on may not be compatible.

    There is no universal way to make it work with all other AJAX/JS features on the site or with all “Load More” paginations, as each works in its own way using its own JavaScript code.

    What can be done on our side is to try adding compatibility so that during filtering, it essentially do the same thing as described on the documentation page linked above. Over time, this compatibility will be extended to more themes and other plugins.

    Best Regards,
    Victor

    Thread Starter Vitalii

    (@wwvitalik)

    @fesupportteam

    1. Hmm… I don’t think it’s a bad thing on Desktop if we don’t take into account accessibility. Well, for users without disabilities the default behaviour (no focus kept after performing a search on Desktop) is also a UX issue, I guess. On mobile, no need to keep focus because our fingers are not on a keyboard. Another thought: set a priority for the search field so that after performing a search we press the “Tab” key and it immediately focuses on the search box, skipping other elements in the DOM. It would be great for some users. But I am expressing my thoughts, a research should be conducted to see how many users without disabilities would be happy to have what I described.

    2. I’ve put the chips widget, hidden unnecessary elements via CSS, yes, this works. Thanks. But ideally, we have a separate reset widget / possibility to customize the chips widget to hide everything except the “reset button”.

    3. It turns out I entered a wrong selector into the “HTML ID or Class of Posts Container” input field in the plugin settings. My selector didn’t include the pagination. After I entered another, the one that includes both the items and pagination, it started to work, not perfectly though, but it’s the Blocksy theme issue with pagination logic.

    Plugin Support fesupportteam

    (@fesupportteam)

    Hi @wwvitalik

    1) Perhaps with future updates we can add this feature as an additional option that can be turned on/off. At the moment, we have added it to the development list.

    2) You can use template overriding to create unique chips that will fit your exact use case: https://filtereverything.pro/resources/templates-overriding/

    Best Regards,
    Victor

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.