Преглед на файлове

Fix ComboBox highlight width on IE8/9 (#19889)

This fixes an issue caused by the fix for #19658.

Change-Id: I688275b0c39af723500bc0f7d0c87799698c90e7
tags/7.7.0.beta1
Henri Sara преди 8 години
родител
ревизия
d5c2320ef0
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2
    1
      client/src/main/java/com/vaadin/client/ui/VFilterSelect.java

+ 2
- 1
client/src/main/java/com/vaadin/client/ui/VFilterSelect.java Целия файл

@@ -870,7 +870,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
* @param naturalMenuWidth
*/
private void updateMenuWidth(final int desiredWidth,
final int naturalMenuWidth) {
int naturalMenuWidth) {
/**
* Three different width modes for the suggestion pop-up:
*
@@ -885,6 +885,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler,
String width = "auto";
if (suggestionPopupWidth == null) {
if (naturalMenuWidth < desiredWidth) {
naturalMenuWidth = desiredWidth - popupOuterPadding;
width = (desiredWidth - popupOuterPadding) + "px";
}
} else if (isrelativeUnits(suggestionPopupWidth)) {

Loading…
Отказ
Запис