You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importReactfrom'react';import{useState}from"react";import{render}from'react-dom';import{Tooltip,Search}from"carbon-components-react";import'carbon-addons-iot-react/css/carbon-addons-iot-react.css';constApp=()=>{const[showTooltip,setShowTooltip]=useState(false)return(<><Searchsize={"sm"}onChange={()=>setShowTooltip(true)}placeHolderText={"type here to lose focus"}/><TooltiptabIndex={-1}showIcon={false}open={showTooltip}>
I'm stealing the focus
</Tooltip></>)};render(<App/>,document.getElementById('root'));exportdefaultApp;
Expected behavior
Showing the tooltip should not prevent typing into the input field.
Hi @d-akara. It looks like this problem has already been resolved in the Carbon library. I have opened an issue to upgrade our Carbon version in order to pull in these changes. This issue has been added to our March sprint.
What package is this for?
Describe the bug
Tooltip steal focus when shown.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Showing the tooltip should not prevent typing into the input field.
Environment/versions:
carbon-addons-iot-react
version: [v2.142.0]Additional context
This issue seems to be caused by carbon-design-system/carbon#6719
Which appears to be fixed starting with carbon v10.21.0 carbon-design-system/carbon@225f212
Specific timeline issues / requests
This is a Major issue in the ELM people picker. See - https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=528119
We need a fix for ELM 7.0.3 by Sprint 6/7 (April/May) time frame.
The text was updated successfully, but these errors were encountered: