around this issue Propably, this is happening because the single-click event is taking place 251ms after you clicked. It is a known issue -->check it here. It is build that way so double click can be recognised. Having both interactions active is caussing problems for sure. Someone has to deside. Is it select? or is it draw? or both? so ol3 desides that if you set both of them active that means you want both of them active. Disable the select interaction on drawstart and then on drawend try to enable your select interaction 251ms after the drawend event occurs. like sο:
Nested dereferencing arrows in Perl: to omit or not to omit?
By : user1852850
Date : March 29 2020, 07:55 AM
this will help Unless you really enjoy typing or excessively long lines, don't use the arrows when you don't need them. Subscripts next to subscripts imply references, so the competent programmer doesn't need extra clues to figure that out. I disagree that it's more readable to have extra arrows. It's definitely unconventional to have them moving the interesting parts of the term further away from each other.