algolia-experiences 1.8.10 → 1.8.12
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! algolia-experiences 1.8.
|
|
1
|
+
/*! algolia-experiences 1.8.12 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch */
|
|
2
2
|
(function (factory) {
|
|
3
3
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
4
4
|
factory();
|
|
@@ -9981,7 +9981,7 @@
|
|
|
9981
9981
|
};
|
|
9982
9982
|
}
|
|
9983
9983
|
|
|
9984
|
-
var version = '4.
|
|
9984
|
+
var version = '4.103.0';
|
|
9985
9985
|
|
|
9986
9986
|
function getServerResults(entry) {
|
|
9987
9987
|
var _entry_compositionFeedsResults;
|
|
@@ -17794,7 +17794,10 @@
|
|
|
17794
17794
|
}), _define_property(_this, "getNextPositionForKey", function(idx, keyCode) {
|
|
17795
17795
|
var _this_state = _this.state, handlePos = _this_state.handlePos, values = _this_state.values;
|
|
17796
17796
|
var _this_props = _this.props, max = _this_props.max, min = _this_props.min, snapPoints = _this_props.snapPoints;
|
|
17797
|
-
|
|
17797
|
+
// Only snap by key when there are actual snap points to snap between.
|
|
17798
|
+
// Otherwise the snap branch below leaves `proposedValue` untouched and the
|
|
17799
|
+
// handle never moves with the keyboard, so fall back to the percentage path.
|
|
17800
|
+
var shouldSnap = Boolean(_this.props.snap && snapPoints.length);
|
|
17798
17801
|
var proposedValue = values[idx];
|
|
17799
17802
|
var proposedPercentage = handlePos[idx];
|
|
17800
17803
|
var originalPercentage = proposedPercentage;
|