Skip to content

feat(src): add cr-pin attribute to control#60

Merged
olgahaha merged 1 commit intomainfrom
feature-attribute-cr-pin
Apr 8, 2025
Merged

feat(src): add cr-pin attribute to control#60
olgahaha merged 1 commit intomainfrom
feature-attribute-cr-pin

Conversation

@olgahaha
Copy link
Contributor

@olgahaha olgahaha commented Apr 8, 2025

Ref: #58

Added

  • Introduce cr-pin attribute to control CR Pin behavior.

@olgahaha olgahaha requested a review from Copilot April 8, 2025 08:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • dev/index.html: Language not supported
Comments suppressed due to low confidence (1)

src/modal/modal.ts:164

  • Resetting the _crPin property unconditionally may override custom settings provided via updateModalOptions. Consider preserving the crPin state if it has been explicitly set.
this._crPin = Constant.crPin.on;

Ref: #58

Introduce cr-pin attribute to control CR Pin behavior.
@olgahaha olgahaha force-pushed the feature-attribute-cr-pin branch from 413c184 to fa1a300 Compare April 8, 2025 08:24
@olgahaha olgahaha merged commit 469f0f2 into main Apr 8, 2025
6 checks passed
@olgahaha olgahaha deleted the feature-attribute-cr-pin branch April 8, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant