How to make default mobile dropdown

Is it possible to make default dropdown of select on mobile devices? On desktop I want to use common features of select2, but on mobile sizes I want to use default browsers dropdown of select input. Is it possible to do?

It should be possible. Just surround your code that initializes the Select2 widget with logic that determines whether the device is mobile. What criteria you choose to determine whether the device is mobile is up to you (and there is no single method that works in all cases, so I recommend you google “mobile device detection javascript” to learn about the various options available).