Skip to content

Commit

Permalink
Merge pull request #18 from vektor-inc/fix/tree-shaking-table-scroll
Browse files Browse the repository at this point in the history
[ Change version ] 0.2.5 / 不具合が発生するため応急処置として TreeShaking 強制無効化
  • Loading branch information
kurudrive authored Sep 25, 2024
2 parents 248c769 + adb6cb5 commit ff3eeed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ npx playwright test --project=chromium --trace on

## Change log

0.2.5
[ 不具合修正 ] VK Blocks 1.85 からテーブルのスクロールヒントのCSSが TreeShaking で正しく処理できず、その影響で非表示クラスが効かなくなるなどの不具合が発生するため、見た目の不具合回避のために応急処置として強制的に TreeShaking を無効化

0.2.4
[ 不具合修正 ] 325 行目の Deprecated: Use of "self" in callables is deprecated を修正

Expand Down
6 changes: 6 additions & 0 deletions src/VkCssOptimize.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,12 @@ public static function get_css_optimize_options() {
update_option( 'vk_css_optimize_options', $vk_css_optimize_options );
}

// 0.2.5
// VK Blocks 1.85 からテーブルのスクロールヒントのCSSが TreeShaking で正しく処理できず、
// その影響で非表示クラスが効かなくなるなどの不具合が発生するため、
// 見た目の不具合回避のために応急処置として強制的に TreeShaking を無効化
$vk_css_optimize_options['tree_shaking'] = '';

return $vk_css_optimize_options;
}

Expand Down

0 comments on commit ff3eeed

Please sign in to comment.