@khanacademy/wonder-blocks-dropdown
Advanced tools
Comparing version
@@ -180,2 +180,5 @@ // @flow | ||
paddingRight: Spacing.medium, | ||
// This removes the 300ms click delay on mobile browsers by indicating that | ||
// "double-tap to zoom" shouldn't be used on this element. | ||
touchAction: "manipulation", | ||
}, | ||
@@ -182,0 +185,0 @@ |
@@ -107,2 +107,5 @@ // @flow | ||
boxSizing: "border-box", | ||
// This removes the 300ms click delay on mobile browsers by indicating that | ||
// "double-tap to zoom" shouldn't be used on this element. | ||
touchAction: "manipulation", | ||
}, | ||
@@ -109,0 +112,0 @@ disabled: { |
@@ -162,2 +162,5 @@ // @flow | ||
whiteSpace: "nowrap", | ||
// This removes the 300ms click delay on mobile browsers by indicating that | ||
// "double-tap to zoom" shouldn't be used on this element. | ||
touchAction: "manipulation", | ||
}, | ||
@@ -164,0 +167,0 @@ |
@@ -187,3 +187,6 @@ import { Component, createElement, Fragment, Children, createRef, cloneElement } from 'react'; | ||
paddingLeft: Spacing.medium, | ||
paddingRight: Spacing.medium | ||
paddingRight: Spacing.medium, | ||
// This removes the 300ms click delay on mobile browsers by indicating that | ||
// "double-tap to zoom" shouldn't be used on this element. | ||
touchAction: "manipulation" | ||
}, | ||
@@ -1124,3 +1127,6 @@ label: { | ||
textDecoration: "none", | ||
boxSizing: "border-box" | ||
boxSizing: "border-box", | ||
// This removes the 300ms click delay on mobile browsers by indicating that | ||
// "double-tap to zoom" shouldn't be used on this element. | ||
touchAction: "manipulation" | ||
}, | ||
@@ -1482,3 +1488,6 @@ disabled: { | ||
boxSizing: "border-box", | ||
whiteSpace: "nowrap" | ||
whiteSpace: "nowrap", | ||
// This removes the 300ms click delay on mobile browsers by indicating that | ||
// "double-tap to zoom" shouldn't be used on this element. | ||
touchAction: "manipulation" | ||
}, | ||
@@ -1485,0 +1494,0 @@ text: { |
{ | ||
"name": "@khanacademy/wonder-blocks-dropdown", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"design": "v1", | ||
@@ -18,11 +18,11 @@ "description": "Dropdown variants for Wonder Blocks.", | ||
"dependencies": { | ||
"@khanacademy/wonder-blocks-button": "^2.2.1", | ||
"@khanacademy/wonder-blocks-color": "^1.0.10", | ||
"@khanacademy/wonder-blocks-core": "^1.2.3", | ||
"@khanacademy/wonder-blocks-icon": "^1.0.7", | ||
"@khanacademy/wonder-blocks-icon-button": "^3.0.0", | ||
"@khanacademy/wonder-blocks-layout": "^1.0.7", | ||
"@khanacademy/wonder-blocks-modal": "^1.2.0", | ||
"@khanacademy/wonder-blocks-spacing": "^2.0.8", | ||
"@khanacademy/wonder-blocks-typography": "^1.0.10" | ||
"@khanacademy/wonder-blocks-button": "^2.2.2", | ||
"@khanacademy/wonder-blocks-color": "^1.0.11", | ||
"@khanacademy/wonder-blocks-core": "^1.2.4", | ||
"@khanacademy/wonder-blocks-icon": "^1.0.8", | ||
"@khanacademy/wonder-blocks-icon-button": "^3.0.1", | ||
"@khanacademy/wonder-blocks-layout": "^1.0.8", | ||
"@khanacademy/wonder-blocks-modal": "^1.2.1", | ||
"@khanacademy/wonder-blocks-spacing": "^2.0.9", | ||
"@khanacademy/wonder-blocks-typography": "^1.0.11" | ||
}, | ||
@@ -29,0 +29,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
304070
0.75%6948
0.39%