The Tooltip component has a className property. Providing a class name there does not seem to apply the class to the DOM element. See my below code and attached screenshot ...
<div className="col">
<label className="d-block">Name</label>
<Input value={name} required={true} onChange={handleNameChange} />
<Tooltip className="d-inline">
<i className="k-icon k-i-info" title="The name of the Taxonomy" />
</Tooltip>
</div>
Hello, Ryan,
This is expected as the className is set to the Tooltip DOM, where the div in the screenshot is the DIV that we render around to elements in order to attach the events.
<div
onMouseOver={event => tooltip && tooltip.handleMouseOver(event)}
onMouseOut={event => tooltip && tooltip.handleMouseOut(event)}
// add the class here
>
<button className="k-button" title="Tooltip message">I also the same KendoReact Tooltip</button>
<Tooltip ref={(el) => tooltip = el} anchorElement="target" position="right" openDelay={300} />
</div>
Regards,
Stefan
Progress Telerik
Тhe web is about to get a bit better!
The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.