1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 21:29:43 +02:00

fix: Prevent scroll when focusing

This commit is contained in:
Maksim Eltyshev 2022-12-26 22:51:17 +01:00
parent 0ad9cffb08
commit 26f464eb25
10 changed files with 31 additions and 14 deletions

View file

@ -3,9 +3,10 @@ import { Input as SemanticUIInput } from 'semantic-ui-react';
import InputPassword from './InputPassword';
import InputMask from './InputMask';
const Input = SemanticUIInput;
export default class Input extends SemanticUIInput {
static Password = InputPassword;
Input.Password = InputPassword;
Input.Mask = InputMask;
static Mask = InputMask;
export default Input;
focus = (options) => this.inputRef.current.focus(options);
}