@availity/feedback 6.2.5 → 6.2.6
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.
- package/CHANGELOG.md +13 -0
- package/package.json +2 -2
- package/src/FeedbackForm.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.2.6](https://github.com/Availity/availity-react/compare/@availity/feedback@6.2.5...@availity/feedback@6.2.6) (2021-12-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **feedback:** added destructering for event ([a8110d7](https://github.com/Availity/availity-react/commit/a8110d7c2d118d4e14fb142f6002790b635593c9))
|
|
12
|
+
* **feedback:** fix typo ([9adfd42](https://github.com/Availity/availity-react/commit/9adfd42264eb64d57c976b6118e794a9be36a605))
|
|
13
|
+
* **feedback:** fixed shift tab closing dropdown issue ([06aad38](https://github.com/Availity/availity-react/commit/06aad384f87e8e3a75fc469f30a0795cfee242ce))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
6
19
|
## [6.2.5](https://github.com/Availity/availity-react/compare/@availity/feedback@6.2.4...@availity/feedback@6.2.5) (2021-12-01)
|
|
7
20
|
|
|
8
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/feedback",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.6",
|
|
4
4
|
"author": "Evan Sharp <evan.sharp@availity.com>",
|
|
5
5
|
"description": "Availity feedback with smiley faces react component.",
|
|
6
6
|
"main": "index.js",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"reactstrap": "^8.0.0 || ^7.0.0 || ^6.0.0",
|
|
48
48
|
"yup": "^0.27.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "c01e64d8769b1938fccfc0e2e298a8ddd6875bd9"
|
|
51
51
|
}
|
package/src/FeedbackForm.js
CHANGED
|
@@ -210,11 +210,11 @@ const FeedbackForm = ({
|
|
|
210
210
|
<Button
|
|
211
211
|
onClick={onClose}
|
|
212
212
|
color="secondary"
|
|
213
|
-
onKeyDown={({
|
|
213
|
+
onKeyDown={({keyCode, shiftKey}) => {
|
|
214
214
|
if (keyCode === 13) {
|
|
215
215
|
onClose();
|
|
216
216
|
}
|
|
217
|
-
if (keyCode === 9 && !active) {
|
|
217
|
+
if (keyCode === 9 && !active && !shiftKey) {
|
|
218
218
|
onClose();
|
|
219
219
|
}
|
|
220
220
|
}}
|
|
@@ -224,8 +224,8 @@ const FeedbackForm = ({
|
|
|
224
224
|
) : null}
|
|
225
225
|
|
|
226
226
|
<Button
|
|
227
|
-
onKeyDown={({
|
|
228
|
-
if (keyCode === 9) {
|
|
227
|
+
onKeyDown={({keyCode, shiftKey}) => {
|
|
228
|
+
if (keyCode === 9 && !shiftKey) {
|
|
229
229
|
onClose();
|
|
230
230
|
}
|
|
231
231
|
}}
|