@razorpay/blade 7.0.0 → 7.0.1
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 +7 -0
- package/build/components/index.native.js +1 -1
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +1 -1
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/package.json +2 -1
|
@@ -16949,7 +16949,7 @@ var useBladeInnerRef = function useBladeInnerRef(targetRef, handlers) {
|
|
|
16949
16949
|
React__default.useImperativeHandle(targetRef, function () {
|
|
16950
16950
|
var element = innerRef.current;
|
|
16951
16951
|
|
|
16952
|
-
if (element instanceof HTMLElement) {
|
|
16952
|
+
if (getPlatformType() !== 'react-native' && element instanceof HTMLElement) {
|
|
16953
16953
|
return {
|
|
16954
16954
|
focus: function focus(opts) {
|
|
16955
16955
|
return handlers !== null && handlers !== void 0 && handlers.onFocus ? handlers.onFocus(opts) : element.focus(opts);
|