From 3938abc5ddf81e2c71276aed5588fdc0d3ef8c61 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 23 Sep 2016 17:18:52 +0100 Subject: [PATCH] add webkit vendor prefixed properties for mavericks safari --- .../css/matrix-react-sdk/views/elements/DirectorySearchBox.css | 2 ++ test/app-tests/joining.js | 1 + 2 files changed, 3 insertions(+) diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css b/src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css index cea38b83..3a0922bc 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css +++ b/src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css @@ -22,12 +22,14 @@ limitations under the License. .mx_DirectorySearchBox_container { display: flex; + display: -webkit-flex; padding-left: 9px; padding-right: 9px; } .mx_DirectorySearchBox_input { flex-grow: 1; + -webkit-flex-grow: 1; border: 0; padding: 0; font-weight: 300; diff --git a/test/app-tests/joining.js b/test/app-tests/joining.js index a668c2b1..989effa3 100644 --- a/test/app-tests/joining.js +++ b/test/app-tests/joining.js @@ -102,6 +102,7 @@ describe('joining a room', function () { var input = ReactTestUtils.findRenderedDOMComponentWithTag( roomDir, 'input'); input.value = ROOM_ALIAS; + ReactTestUtils.Simulate.change(input); ReactTestUtils.Simulate.keyUp(input, {key: 'Enter'}); // that should create a roomview which will start a peek; wait