Open epifanio opened 2 years ago
I'm encountering this issue as well. Is anybody working on this or have thoughts on how to fix it? I've tried poking around in the code but I'm not seeing the solution.
This issue persists in version 8.1.0, even using the non-deprecated tooltip
attribute:
import ipywidgets as widgets
widgets.Checkbox(value=False, description='Short descr', tooltip='Some extra explanation')
This gives the following result, when I hover over the checkbox itself or over the text.
Description
Attempting to add a tooltip to a checkbox, I can't modify the default value. The docs claim it defaults to description - but can be changed by using the
description_tooltip
attribute.Reproduce
Expected behavior
toltip rendering the string 'var' and the checkbox label rendering the string 'key' -- instead the tooltip is rendering the string "key" (seems it uses the default value from the
description
attribute and ignores the supplieddescription_tooltip
)Context
Troubleshoot Output
Command Line Output
Browser Output
If using JupyterLab
Installed Labextensions