Patent attributes
An electronic device and method are provided. The electronic device includes a flexible display including a first state in which a display area has a first size and a second state in which the display area is expanded in a first direction to have a second size larger than the first size, an actuator driven to change a state of the flexible display, and a processor configured to detect a touch input on a point of the display area, which is located adjacent to a side surface of the electronic device, and identify whether a touch point of the touch input is moved from the point of the display area by a specified distance or more in a same direction as a direction in which the state of the flexible display is changed in a state in which the touch input is maintained.