gwt-material icon indicating copy to clipboard operation
gwt-material copied to clipboard

Problem: tooltip fails to show in a listBox

Open ndavolev opened this issue 6 years ago • 1 comments

Hi there,

I have a problem with the tooltip. I tryed to add Option elements with tooltip in the MaterialListBox, but they didn't show up.

@UiField
public MaterialListBox logList;

private void init(){
logList.clear();
for(Entry<String,String> entry : entrySet){
Option option = new Option(entry.getValue());
option.setTooltip(entry.getKey());
logList.add(option);

Also used MaterialTooltip but the same.

ndavolev avatar Oct 23 '18 15:10 ndavolev

Currently tooltips are not well supported on select boxes because Materialize as it's own way to render it's items. Alternatively you can use MaterialDropdown and each link elements you can add a tooltip. We might revisit this on 2.3 for feature request

kevzlou7979 avatar May 07 '19 12:05 kevzlou7979