Looses focus when typing in field

Created on 15 December 2023, 7 months ago
Updated 9 June 2024, 20 days ago

Problem/Motivation

I have a view with exposed filters and Iยดm using Better Exposed Filters. When i start to type into an exposed filter field then everything works fine when i type fast enough, but if a user is typing slow the focus of the exposed filter field get lost and you need to click again into this field to continue writing. Great would be when you type that it doesnยดt loose the focus on the field and still refreshes the list while typing.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Closed: duplicate

Version

7.0

Component

User interface

Created by

๐Ÿ‡ฆ๐Ÿ‡นAustria gr4phic3r

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @gr4phic3r
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia sandipta

    We can configure it in the following way:
    Navigate to View Settings -> Advanced -> Exposed Form -> Exposed Form Style -> Settings
    Increase the Delay for textfield autosubmit.

    Please let me know if this solves your issue.

  • ๐Ÿ‡ฆ๐Ÿ‡นAustria gr4phic3r

    thanks for the info, but i think this does not solve the problem. i use it on a website where the users are mostly 60 years and older and they will write quite slow i guess. so if i set the delay to 3 seconds then it is quite a long time but then someone will press the button earlier than the site refreshes and this would make the module useless.
    iยดm not a backend coder, but is it possible to set the focus after the refresh of the view back to the field where the last text was entered at exposed filters?

  • ๐Ÿ‡ช๐Ÿ‡ธSpain otorrents

    I would like it too, that BEF could do instant searches keeping the cursor position like " Views_autosubmit โ†’ " .
    It gives a a better search experience. When you are using it is not important the delay time to submit because you can maintain typing.
    The problem of Views autosubmit is that this module is not as powerful as BEF.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave
  • ๐Ÿ‡บ๐Ÿ‡ฆUkraine edwardsay
  • Status changed to Closed: duplicate 20 days ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Seems this will be fixed with the related issue.

Production build 0.69.0 2024