diff --git a/CHANGELOG.md b/CHANGELOG.md index 25444d59d..477807e13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to Shiny for Python will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [UNRELEASED] + +### Bug fixes + +* Fixed `ui.tooltip()`'s `options` parameter to properly pass Bootstrap tooltip options to the underlying web component. (#2101) + ## [1.5.0] - 2025-09-11 ### New features diff --git a/shiny/ui/_tooltip.py b/shiny/ui/_tooltip.py index a8d197ee4..fa65737a6 100644 --- a/shiny/ui/_tooltip.py +++ b/shiny/ui/_tooltip.py @@ -144,7 +144,7 @@ def fa_info_circle(title: str): { "id": resolve_id_or_none(id), "placement": placement, - "options": json.dumps(options) if options else None, + "bsOptions": json.dumps(options) if options else None, }, attrs, # Use display:none instead of