Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

カート追加時モーダル枠の白い部分をクリックした時は何も反応させない #4892

Merged
merged 1 commit into from Feb 17, 2021

Conversation

yshirai-joolen
Copy link
Contributor

@yshirai-joolen yshirai-joolen commented Feb 1, 2021

概要(Overview・Refs Issue)

カート追加時に表示されるモーダル枠の白い部分をクリックした時、モーダルが閉じてしまうようになっていたのを、何も反応しないようにします。
#4706

方針(Policy)

モーダル枠のclickイベントでstopPropagation()を実行し、clickイベントがモーダル枠の外まで伝わらないようにしました。

テスト(Test)

検証環境で実際に動かして動作を確認していますが、テストコードを作ることはできませんでした。

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更
  • フックポイントの呼び出しタイミングの変更
  • フックポイントのパラメータの削除・データ型の変更
  • twigファイルに渡しているパラメータの削除・データ型の変更
  • Serviceクラスの公開関数の、引数の削除・データ型の変更
  • 入出力ファイル(CSVなど)のフォーマット変更

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか

@chihiro-adachi chihiro-adachi added this to the 4.0.x milestone Feb 9, 2021
@chihiro-adachi
Copy link
Contributor

@belltzel
こちらの修正ですが、期待通りの動作になっているかご確認いただくことはできますか?

@okazy okazy self-assigned this Feb 9, 2021
@belltzel
Copy link
Contributor

@chihiro-adachi

期待通りの動きになっています。

@yshirai-joolen

対応、ありがとうございます。

@okazy okazy modified the milestones: 4.0.x, 4.0.6 Feb 16, 2021
@okazy okazy added the affected:template フロントテンプレートの変更 label Feb 16, 2021
Copy link
Contributor

@okazy okazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

動作確認して問題ありませんでした。
落ちているテストも今回の変更とは無関係の箇所でしたので問題ありません。

@okazy okazy merged commit c36a87d into EC-CUBE:4.0 Feb 17, 2021
@okazy
Copy link
Contributor

okazy commented Feb 17, 2021

@yshirai-joolen マージしました。対応ありがとうございました!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected:template フロントテンプレートの変更 bug:Low Status: ready-for-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants