@gustavo-valsechi/client 1.4.127 → 1.4.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,7 +38,7 @@ const Container = import_styled_components.default.div`
|
|
|
38
38
|
background-color: ${({ theme }) => theme.primary};
|
|
39
39
|
border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
|
|
40
40
|
border-radius: 5px;
|
|
41
|
-
max-height:
|
|
41
|
+
max-height: 180px;
|
|
42
42
|
position: relative;
|
|
43
43
|
overflow-x: hidden;
|
|
44
44
|
overflow-y: scroll;
|
|
@@ -5,7 +5,7 @@ const Container = styled.div`
|
|
|
5
5
|
background-color: ${({ theme }) => theme.primary};
|
|
6
6
|
border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
|
|
7
7
|
border-radius: 5px;
|
|
8
|
-
max-height:
|
|
8
|
+
max-height: 180px;
|
|
9
9
|
position: relative;
|
|
10
10
|
overflow-x: hidden;
|
|
11
11
|
overflow-y: scroll;
|
|
@@ -54,7 +54,8 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
54
54
|
const blur = (index) => {
|
|
55
55
|
insideMemory.splice(import_lodash.default.findIndex(insideMemory, (i) => i === index), 1);
|
|
56
56
|
console.log("insideMemory in blur function", insideMemory);
|
|
57
|
-
elementFocusable(targets[index], index).
|
|
57
|
+
elementFocusable(targets[index], index).focus();
|
|
58
|
+
setTimeout(() => elementFocusable(targets[index], index).blur(), 1);
|
|
58
59
|
};
|
|
59
60
|
const close = (index) => {
|
|
60
61
|
const element = containerRef.current[index];
|
|
@@ -20,7 +20,8 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
20
20
|
const blur = (index) => {
|
|
21
21
|
insideMemory.splice(_.findIndex(insideMemory, (i) => i === index), 1);
|
|
22
22
|
console.log("insideMemory in blur function", insideMemory);
|
|
23
|
-
elementFocusable(targets[index], index).
|
|
23
|
+
elementFocusable(targets[index], index).focus();
|
|
24
|
+
setTimeout(() => elementFocusable(targets[index], index).blur(), 1);
|
|
24
25
|
};
|
|
25
26
|
const close = (index) => {
|
|
26
27
|
const element = containerRef.current[index];
|