Hello everyone. I have this problem.
If you normally click on any button - everything works correctly. However, if you click with a short drag, which happens mainly on tablets or phones - the button not working. I can solve this problem with javascript. However, I don’t want to write a separate event for each button. Is there any global solution to solve this problem?
You can Try on any button. Přess the button and make short drag befor mouse up.
Users often click like this and then it looks like an error.
@mpluky - I can replicate what you describe above.
Please do not think me rude for saying this but I might say that this is really more a user problem than a designer problem.
I do commend you for trying to remedy the issue from within but I wonder if it really would be best for the learner - who will likely come across other projects where this type of error checking is not put in place - to improve their ability to simply click/tap without dragging.
I am curious though - you say that it looks like an error. Do you have some sort of action that is triggering on failure to click? I would see greater need to rectify the issue in that case - but I still see it as user issue.
I wonder if - in a future version - that there was a separate action for mousedown and mouseup so that if you do drag a little but mouseup while still over the button that it would work fine…?
It sounds like you have a working solution already - though I might suggest you’re not obligated to implement - but I would be curious as well to know if there is another answer here. I look forward to what staff has to say.
My customer is right. AP button is behaving little incorrectly. If you click in the browser (in normal HTML) on any button (Input type button or a href) and at the same time do a short drag and then mouse up, the action will be executed. In AP not. I think… Thre behavior of the buttons in the standard browsers must really be considered as standard.
Browser: hold mouse down → do short drag in the button the area → leave mouse up (working)
AP: hold mouse down → do short drag in the button the area → leave mouse up (not working)
I already have several cases where students report that they have to click multiple times
For your information, with HTML elements, mouse down and then mouse up within the element area will have a click event, regardless of whether there is drag or not between mouse down and up.
However, in addition to clicking, objects in ActivePresenter can be dragged to select text or have swipe events, etc. so we set a limit on dragging beyond the limit, a click will not occur.
Users can reset this limit by adding a script to the project On Load event, for example, allowing a 5px drag still counts as a click: AP.ClickMaxDistance = 5;
An ActivePresenter object can handle many events simultaneously, so it is not worth checking the limit when using only clicks.
Furthermore, this is to create a good experience for users when they use the click event. It doesn’t affect anything else.
For example, if you set the max distance as 50, dragging or swiping works ok.
Only dragging within 50px will still have a click event.
This may bring not a good experience to users.