JQUERY UI was used in the project, and its disableSelection() method was used. This method makes the specified elements on the page unable to be selected by dragging with the mouse.
Due to certain needs, I achieved the above effect after using this method for divs, but there were shortcomings.
After using this method under Firefox, the select method in the div will not pop up after being clicked. This phenomenon does not occur under IE and CHROME.