Skip to content

Commit 0c3b83b

Browse files
author
rofrischmann
committed
#126 fix position plugin
closes #126
1 parent a803ea1 commit 0c3b83b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

modules/dynamic/plugins/position.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ import type { PluginMetaData } from '../../../flowtypes/PluginMetaData'
66
export default function position(
77
property: string,
88
value: any,
9+
style: Object,
910
{ browserName, cssPrefix, keepUnprefixed }: PluginMetaData
1011
): ?Array<any> | ?any {
1112
if (
1213
property === 'position' &&
13-
value === 'sticky' &&
14-
(browserName === 'safari' || browserName === 'ios_saf')
14+
value === 'sticky' &&
15+
(browserName === 'safari' || browserName === 'ios_saf')
1516
) {
1617
return getPrefixedValue(cssPrefix + value, value, keepUnprefixed)
1718
}

0 commit comments

Comments
 (0)