From 7d6a885384f23d79410097a570078308942b715e Mon Sep 17 00:00:00 2001 From: Federico Zivolo Date: Tue, 1 Aug 2017 19:46:32 +0200 Subject: [PATCH] v2.5.0 --- docs/react-resize-aware.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/react-resize-aware.js b/docs/react-resize-aware.js index 6f3fe93..9cb797f 100644 --- a/docs/react-resize-aware.js +++ b/docs/react-resize-aware.js @@ -116,7 +116,9 @@ var ResizeAware = function (_Component) { ref: function ref(el) { return _this2.resizeElement = el; }, - onLoad: this.handleObjectLoad + onLoad: this.handleObjectLoad, + 'aria-hidden': true, + tabIndex: -1 }), react.Children.map(children, function (child) { return react.cloneElement(child, !onlyEvent ? { width: width, height: height } : null); })); diff --git a/package.json b/package.json index 981eca0..356b4c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-resize-aware", - "version": "2.4.4", + "version": "2.5.0", "description": "A resize aware component used to detect sizes changes on your components", "main": "dist/index.js", "scripts": {