Issue originale de @GildasMorel le 2020-09-29, migrée depuis sfeir-open-source#81 (sfeir-open-source#81) lors de la consolidation vers l'organisation upstream.
The touch pointer is a plugin that add a pointer to the slide view.
From the presenter view, you can move the pointer by touching the slide view and it moves in the same way on stage view.
To activate this plugin, click on Presenter view "plugins" button menu and select "TouchPointerInput".
Then, to deactivate the plugin, click on the "Fermer" button at the top right.
When the plugin is activated, the pointer div is added on the fly to the view.
When the plugin is deactivated, it should be removed from the shadow DOM.
- Checkout the develop branch
- Open the file src\plugins\input\touch-pointer\index.js
- Look for _removePointer function definition
- The line
pointer.remove(); doesn't work
You can see and confirm the problem by deactivating the plugin following the previous process and look for the pointer div in the dev tools.
If you activate / deactivate the plugin several times you'll see that you'll have several pointer div in the source code.
The touch pointer is a plugin that add a pointer to the slide view.
From the presenter view, you can move the pointer by touching the slide view and it moves in the same way on stage view.
To activate this plugin, click on Presenter view "plugins" button menu and select "TouchPointerInput".
Then, to deactivate the plugin, click on the "Fermer" button at the top right.
When the plugin is activated, the pointer div is added on the fly to the view.
When the plugin is deactivated, it should be removed from the shadow DOM.
pointer.remove();doesn't workYou can see and confirm the problem by deactivating the plugin following the previous process and look for the pointer div in the dev tools.
If you activate / deactivate the plugin several times you'll see that you'll have several pointer div in the source code.