Pressing the sunroof control lever backward or forward momentarily to the second detent position completely opens or closes the sunroof even when the switch is released. To stop the sunroof at the desired position while the sunroof is in operation, press the sunroof control lever backward or forward and release the switch.
Information
To minimize wind noise while driving, it is recommended that you drive with the sunroof slightly closed (stop the sunroof about 2 inch (5 cm) before the maximum slide open position).
Automatic reverse
If the sunroof senses an obstacle while it is closing automatically, it should reverse direction and stop to allow the object to be cleared.
WARNING
Small objects that can get caught between the sunroof glass and the front glass channel may not be detected by the automatic reverse system. In this case, the sunroof glass will not detect the object and will not reverse direction.
Hyundai Sonata LF 2014-2019 Service Manual: Components and Components Location
Component Location
1. Fender assembly
...
Hyundai Sonata LF 2014-2019 Service Manual: Power Door Mirror Actuator Repair procedures
Inspection
1.
Disconnect the negative (-) battery terminal.
2.
Remove the front door quadrant inner cover (A).
3.
Disconnect the power door mirror connector from the harness.
4.
Apply battery voltage to each terminal as shown in the table and verify that the mirror operates properly. ...