You need to call lv_obj_clear_flag(obj, LV_OBJ_FLAG_SCROLLABLE); This will clear the scrolling flag for the object