Focus changes in middle of typing when filtering by text.
What you were expecting:
Filter should allow user to input full text and should not change the focus of the textbox.
What happened instead:
Everytime I type a text for filtering the focus of Text-box changes after entering some characters.
Steps to reproduce:
Create a Filter with TextInput and use it in List
import { Filter, ReferenceInput, SelectInput, TextInput, List } from 'react-admin';
const PostFilter = (props) => (
<Filter {...props}>
<TextInput label="Search" source="q" resettable alwaysOn />
</Filter>
);
export const PostList = (props) => (
<List filters={<PostFilter />} {...props}>
// ...
</List>
);
In above code react-admin doesn't allow you to type a long text and changes focus of the text box after entering some characters.
Environment
React-admin version: 2.8.2
Focus changes in middle of typing when filtering by text.
What you were expecting:
Filter should allow user to input full text and should not change the focus of the textbox.
What happened instead:
Everytime I type a text for filtering the focus of Text-box changes after entering some characters.
Steps to reproduce:
Create a Filter with TextInput and use it in List
In above code react-admin doesn't allow you to type a long text and changes focus of the text box after entering some characters.
Environment
React-admin version: 2.8.2