I have been debugging this but not getting anywhere.

Some of the pages in the website doesn't allow users to select an area of the page and copy. Nothing happens when they try to select and the text doesn't get highlighted as well as they can't copy.

I tried to look for "user-select:none" in the stylesheet as well as view-source but there is none.

I am trying to debug using chrome developer tools but not getting anywhere. I am thinking the z-index could be problem but not sure where to fix it?

Can anyone suggest?

有帮助吗?

解决方案

On the link you give on the style_accordion.css you have this style:

body{
  position:relative;
  margin:0;

  font-family:arial;
  -webkit-touch-callout:none;
  -webkit-text-size-adjust:none;
  -webkit-user-select: none;  /*<-- this line for chrome */
}

that prevent the selection on entire page.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top