Adds the selection bar extension on Windows and Linux.

This is a fix for #9203.
This makes the code more "functional" and easily testable (I believe there are unit tests that include the original platform change). This prop is not actually new here, I just noticed that it wasn't in the documentation.