An electronic device and method are disclosed. The electronic device includes a foldable display that is at least partially foldable, at least one processor, and at least one memory. The processor implements the method, including detecting, by at least one processor, that a foldable display of the electronic device changes from an unfolded state to a partially folded state, configuring a first region of the foldable display to accept touch inputs in the partially folded state, and configuring a second region of the foldable display to accept non-touch inputs in the partially folded state.