File tree 3 files changed +17
-6
lines changed
3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,6 @@ yarn.lock
47
47
package-lock.json
48
48
49
49
css /styles.css
50
+
51
+ # Cache
52
+ .cache /
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ function DayPickerNavigation({
126
126
{ ! isVerticalScrollable && (
127
127
< div
128
128
role = "button"
129
- tabIndex = "0"
129
+ tabIndex = { isDefaultNavPrev ? '0' : null }
130
130
{ ...css (
131
131
styles . DayPickerNavigation_button ,
132
132
isDefaultNavPrev && styles . DayPickerNavigation_button__default ,
@@ -164,7 +164,7 @@ function DayPickerNavigation({
164
164
165
165
< div
166
166
role = "button"
167
- tabIndex = "0"
167
+ tabIndex = { isDefaultNavNext ? '0' : null }
168
168
{ ...css (
169
169
styles . DayPickerNavigation_button ,
170
170
isDefaultNavNext && styles . DayPickerNavigation_button__default ,
Original file line number Diff line number Diff line change @@ -10,29 +10,37 @@ import {
10
10
} from '../src/constants' ;
11
11
12
12
const TestPrevIcon = ( ) => (
13
- < span
13
+ < div
14
14
style = { {
15
15
border : '1px solid #dce0e0' ,
16
16
backgroundColor : '#fff' ,
17
17
color : '#484848' ,
18
+ left : '24px' ,
18
19
padding : '3px' ,
20
+ position : 'absolute' ,
21
+ width : '40px' ,
19
22
} }
23
+ tabindex = "0"
20
24
>
21
25
Prev
22
- </ span >
26
+ </ div >
23
27
) ;
24
28
25
29
const TestNextIcon = ( ) => (
26
- < span
30
+ < div
27
31
style = { {
28
32
border : '1px solid #dce0e0' ,
29
33
backgroundColor : '#fff' ,
30
34
color : '#484848' ,
31
35
padding : '3px' ,
36
+ position : 'absolute' ,
37
+ right : '24px' ,
38
+ width : '40px' ,
32
39
} }
40
+ tabindex = "0"
33
41
>
34
42
Next
35
- </ span >
43
+ </ div >
36
44
) ;
37
45
38
46
const TestCustomInfoPanel = ( ) => (
You can’t perform that action at this time.
0 commit comments