Description:
It would be nice if on the pagination portion of the a results component, when a page is selected an "active" class is added to the HTML element, allowing greater customization through an application's css rules.
Example of current system:
In the below example, the user is currently on page 2. You can see that React has changed the link's class from css-1vy3jc0 to css-r1uvgb, which styles the background color of the link to the theme's primaryColor, but since there is no "active" class added, it can't be overridden/customized via the application's css.
Issue Type: Enhancement
Description: It would be nice if on the pagination portion of the a results component, when a page is selected an "active" class is added to the HTML element, allowing greater customization through an application's css rules.
Example of current system:
In the below example, the user is currently on page 2. You can see that React has changed the link's class from
css-1vy3jc0
tocss-r1uvgb
, which styles the background color of the link to the theme's primaryColor, but since there is no "active" class added, it can't be overridden/customized via the application's css.Reactivesearch version: 2.2.1
Also note, the ToggleButton component adds an "active" class to selected buttons, so this change would make the pagination consistent with that.