--- /dev/null
+package com.vaadin.tests.components.window;\r
+\r
+import com.vaadin.tests.components.TestBase;\r
+import com.vaadin.ui.NativeSelect;\r
+import com.vaadin.ui.Window;\r
+\r
+public class ModalWindowNativeSelect extends TestBase {\r
+\r
+ @Override\r
+ protected void setup() {\r
+ NativeSelect ns = new NativeSelect();\r
+\r
+ Window modalWindow = new Window();\r
+ modalWindow.setModal(true);\r
+ modalWindow.center();\r
+\r
+ addComponent(ns);\r
+ getMainWindow().addWindow(modalWindow);\r
+\r
+ }\r
+\r
+ @Override\r
+ protected String getDescription() {\r
+ return "The native select should be behind the modality curtain and user should not be able to interact with it";\r
+ }\r
+\r
+ @Override\r
+ protected Integer getTicketNumber() {\r
+ return 4261;\r
+ }\r
+\r
+}
\ No newline at end of file