Fancytree remove blue border when selected
Asked Answered
Y

2

5

Using fancytree, how can I prevent the boundary around the fancytree div from becoming blue when it's active?

To replicate, go to the link below, click inside the fancytree control (click any node) and the light gray dotted border gets a blue highlight. No good!

http://wwwendt.de/tech/fancytree/demo/sample-configurator.html https://github.com/mar10/fancytree

enter image description here

Yuu answered 24/9, 2014 at 19:21 Comment(0)
C
9

Add the style: outline:none !important; to either .fancytree-container and it won't get the outline around the fancytree

Carouse answered 24/9, 2014 at 19:25 Comment(1)
Thanks, @Alvaro Montoro, though I was confused when you said to add that no-outline element to either .fancytree-container, since I found four in the style-sheet. But I picked the first one (ul.fancytree-container), since it seemed most generic and that did the trick...Stagner
I
3

Little update on this, depending on your version / theme you may also need to disable outline: on .fancytree-treefocus class too, i.e.

.fancytree-container {
    border: none !important;
}
.fancytree-treefocus {
    outline: none;
}
Intussusception answered 1/5, 2018 at 11:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.