openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.ui.commons.Button: Display error with emphasized style, button focused and hovered

Open arikab opened this issue 11 years ago • 2 comments

When using a sap.ui.commons.Button control with style sap.ui.commons.ButtonStyle.Emph, when the button is on focus (like after a mouse click) and is hovered with the mouse pointer, its color changes to grey, which does not happen when the button is hovered but not on focus. It doesn't happen with any other style or with sap.m.Button, so I assume it's a bug.

OpenUI5 version: 1.28 Tested on latest Chrome & Firefox Steps to reproduce the problem: Go to https://openui5.hana.ondemand.com/#test-resources/sap/ui/commons/demokit/Button.html , under 'Special buttons', remove the emphasized button's press event, click the button and hover it with the mouse pointer, you can see the color changes.

arikab avatar Jun 05 '15 15:06 arikab

Thanks for reporting! This is internally tracked as 1570466990.

akudev avatar Jun 08 '15 10:06 akudev

Fixed by https://github.com/SAP/openui5/commit/c70fac38a7164e3dde009a562d2ec7493bcbdfd4 and https://github.com/SAP/openui5/commit/8b5644e2d5c7dfd0ce26376e1639dce4c8a7c28c for 1.28.10 and 1.30.

Thanks again!

akudev avatar Jun 10 '15 15:06 akudev