Skip to content

Commit

Permalink
fix: hover for iPad with mouse
Browse files Browse the repository at this point in the history
Co-authored-by: Daniil Suvorov <[email protected]>
  • Loading branch information
BlackySoul and SevereCloud authored Feb 26, 2024
1 parent ae9164f commit aa108e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const PanelHeaderButton = ({

switch (platform) {
case Platform.IOS:
hoverMode = '';
hoverMode = 'opacity';

Check warning on line 62 in packages/vkui/src/components/PanelHeaderButton/PanelHeaderButton.tsx

View check run for this annotation

Codecov / codecov/patch

packages/vkui/src/components/PanelHeaderButton/PanelHeaderButton.tsx#L62

Added line #L62 was not covered by tests
activeMode = 'opacity';
break;
case Platform.VKCOM:
Expand Down

0 comments on commit aa108e9

Please sign in to comment.