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

Popover & Tooltip: Allow dispose/hide methods usage through jQueryIntreface #33371

Merged
merged 2 commits into from
May 20, 2021

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented Mar 15, 2021

All the other components, forward called methods through jQueryInterface.

Popover and Tooltip is good to have the same behavior, as it is on the developer hand to decide how to use them, regardless of js/jQuery usage

@GeoSot GeoSot requested a review from a team as a code owner March 15, 2021 23:04
@GeoSot GeoSot changed the title Allow dispose/hide methods usage, when component does not exists. Allow dispose/hide methods usage, when component instance, does not exists. Mar 15, 2021
@GeoSot GeoSot requested a review from XhmikosR March 15, 2021 23:11
@GeoSot GeoSot force-pushed the gs-streamline-jq-inreface-on-tooltip-popover branch from 332657a to 0983bdf Compare March 16, 2021 17:22
@GeoSot GeoSot force-pushed the gs-streamline-jq-inreface-on-tooltip-popover branch from 0983bdf to 7097979 Compare April 19, 2021 21:58
@GeoSot GeoSot force-pushed the gs-streamline-jq-inreface-on-tooltip-popover branch from 7097979 to fdffca7 Compare May 5, 2021 21:10
@GeoSot GeoSot changed the title Allow dispose/hide methods usage, when component instance, does not exists. Popover & Tooltip: Allow dispose/hide methods usage, through jQueryIntreface May 11, 2021
@GeoSot GeoSot force-pushed the gs-streamline-jq-inreface-on-tooltip-popover branch from fdffca7 to 587ccef Compare May 13, 2021 20:41
@alpadev
Copy link
Contributor

alpadev commented May 16, 2021

Is this a breaking change maybe? Because popovers and tooltips would dispatch events now when hidden through jQuery (without being initialized before)?

@GeoSot
Copy link
Member Author

GeoSot commented May 17, 2021

I guess yes, but only if a developer initializes its code like : jQuery('.tooltips.').tooltip('hide'), which lets admit it is awkward by itself as tooltips are hidden by default

@GeoSot GeoSot force-pushed the gs-streamline-jq-inreface-on-tooltip-popover branch from 587ccef to 151524a Compare May 18, 2021 23:40
@GeoSot
Copy link
Member Author

GeoSot commented May 19, 2021

@XhmikosR @rohit2sharma95 any other considerations on this?

@GeoSot GeoSot merged commit 9e4f87a into main May 20, 2021
@GeoSot GeoSot deleted the gs-streamline-jq-inreface-on-tooltip-popover branch May 20, 2021 13:16
marvin-hinkley-vortx pushed a commit to Vortx-Inc/bootstrap that referenced this pull request May 20, 2021
@XhmikosR XhmikosR changed the title Popover & Tooltip: Allow dispose/hide methods usage, through jQueryIntreface Popover & Tooltip: Allow dispose/hide methods usage through jQueryIntreface Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants