The following wiki describes the existing problem/Issues with navigation plugin and different ways to fix it.
To design the navigation plugin in such a way that, navigation buttons could be placed at any desired position with some configuration or event.
The navigate next and previous icons are getting overlapped with contents. Which is not a good user experience while consuming any content.
A general use case is when a user tries to consume any PDF content, the navigation button gets overlapped with the text.
There are two ways to fix this issue. The first approach is to modify the navigation plugin itself.
In the second approach, we could change the appearance of navigation buttons specific to the plugins in which navigation icons overlap with the content.
Navigation plugin can be modified to achieve the desired fix.
We could design a template for navigation buttons as in the Final design.
Do a rendering based on the configuration or event data.
<div ng-show="customNavigationVisible" ng-controller="CustomNavigationCtrl"> <custom-next-navigation></custom-next-navigation> <custom-previous-navigation></custom-previous-navigation> </div> |
Pros:
Cons:
The existing navigate-next and navigate-previous plugin provide some inbuilt events to hide navigation icons.
Pros:
Cons:
Diagram illustrating the Second Approach :