Configuring selector's width from properties and saving it to state.