mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
Disable walking when an inputfield is focused (#234)
* feat(phone) Disable walking when an input is focused * refactor(phone) renamed var & replaced copy paste code Instead of copying the code it now uses a custom hook * refactor(phone/input): removed useMemo from hook * style(phone/input): changed indentation to spaces & added de-structured import
This commit is contained in:
1 parent
0e1d7f40b5
commit
870aeda3c3
16 files changed
+88
-13
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { Avatar as MuiAvatar, Box, Button, Paper, TextField } from '@material-ui/core';
|
||||
import { Avatar as MuiAvatar, Box, Button, Paper } from '@material-ui/core';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useHistory, useParams } from 'react-router-dom';
|
||||
@@ -9,6 +9,7 @@ import ArrowBackIcon from '@material-ui/icons/ArrowBack';
|
||||
import LogDebugEvent from '../../../../os/debug/LogDebugEvents';
|
||||
import { useQueryParams } from '../../../../common/hooks/useQueryParams';
|
||||
import { ContactEvents } from '../../../../../../typings/contact';
|
||||
import { TextField } from '../../../../ui/components/Input';
|
||||
|
||||
interface ContactInfoRouteParams {
|
||||
mode: string;
|
||||
|
||||
Reference in new issue
Block a user