It is now (as of the released version 2.9.5 Shapespark releases - #250 by krzysztof) possible to setup this behavior (closing the material selection upon exiting from camera volume).
To do so, select the On Enter and On Exit behaviors to activate and deactivate the (material picker) extension.