becasue the use of composedPath(), which can not be used in closed shadow dom. try another way to check click outside may solve it.
becasue the use of composedPath(), which can not be used in closed shadow dom. try another way to check click outside may solve it.