You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by jc...@apache.org on 2022/04/20 07:49:09 UTC

[brooklyn-ui] branch master updated: remove transition style rule which breaks color inherit on chrome

This is an automated email from the ASF dual-hosted git repository.

jcabrerizo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 26ce8ca3 remove transition style rule which breaks color inherit on chrome
     new ee66181e Merge pull request #318 from ahgittin/fix-disappearing-text
26ce8ca3 is described below

commit 26ce8ca3e98805eef2b993edbd420905ce9acaf1
Author: Alex Heneveld <al...@cloudsoft.io>
AuthorDate: Tue Apr 19 12:25:01 2022 +0100

    remove transition style rule which breaks color inherit on chrome
    
    due to https://bugs.chromium.org/p/chromium/issues/detail?id=265303
---
 ui-modules/app-inspector/app/components/entity-tree/entity-node.less | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ui-modules/app-inspector/app/components/entity-tree/entity-node.less b/ui-modules/app-inspector/app/components/entity-tree/entity-node.less
index 5537805d..6a2a3e8f 100644
--- a/ui-modules/app-inspector/app/components/entity-tree/entity-node.less
+++ b/ui-modules/app-inspector/app/components/entity-tree/entity-node.less
@@ -46,7 +46,10 @@
     border: 1px solid @well-border;
     border-radius: @border-radius-base;
     box-shadow: 0 1px 2px rgba(0,0,0,0.1);
-    transition: all .2s ease-in-out;
+    // transition: all .2s ease-in-out;
+    // transition disabled because on chrome colours are not restored afterwards
+    // https://bugs.chromium.org/p/chromium/issues/detail?id=265303
+    transition: none;
     &.highlight {
       animation: fadeOut 1s;
       -webkit-animation: fadeOut 1s;